925-456-1020 info@acornnmr.com

MetaObjects

MetaObjects

NUTS Help

MO — Meta Objects on plots

This is a subroutine for the addition and manipulation of graphical objects on the screen. (In the Windows version, these objects are Windows Metafiles, hence the name Meta Objects.) Graphical objects can be inset plots, chemical structures, logos or others. They can be pasted from the clipboard or imported from files. More than one object can be displayed on the screen, and each can be independently moved and resized using the mouse. The program keeps track of them in a linked list. To select which object to operate on, move through the list, forward or backward, until the desired object is indicated with a box with handles. See subcommands below. Show me how to use MO.

Another subroutine (Insets) has been added for creating inset plots.  The Insets routine creates the inset plots differently, and may work better.  However, only the MO subroutine can create insets displaying integrals and/or peak labels (which must be displayed at the time the inset is created).

A different subroutine has been added to display structures from previously saved molfiles.

As an experiment, MO subcommands are not presented in menus, but instead in a movable Helper window. The commands can be entered via the keyboard or via buttons in the Helper window. Display of Helper windows can be toggled on and off from the Help menu at the base program level, and can be set in the nuts.ini file.

Inset plot –To create an inset plot, first expand the spectrum to display just the region which will comprise the plot inset. Type MO to enter the subroutine, and then A to add this display to a linked list of graphical objects. The chosen region can be resized and moved with the mouse in a manner similar to standard graphics applications. It is possible to display multiple insets. Exit the MO subroutine, then select and expand a new region, and repeat as needed.

In the Helper window, you can set a multiplying factor for the axis font size, so that the numbers can be made more readable.  This must be set before the inset is captured.  Text such as the integral labels and peak labels may be too small to be read easily when the viewing area is reduced to form an inset plot.  It may be helpful to increase the size of such text before capturing the inset.  This can easily be done with the Windows version of NUTS using a macro such as the one shown below. (Changing font sizes in a macro does not appear to work at this time on the Mac).

Importing — A graphical object can be read from a file which is an enhanced, standard or placeable metafile. Objects can also be copied to the clipboard from another application and pasted into NUTS while in the MO subroutine. (Note that enhanced metafiles are not supported under Win3.11, and metafiles are not supported on the Mac. The Mac version uses PICT files.) The objects are displayed until explicitly deleted or until Nuts is closed, even if another data file is opened.

When a file is saved, any objects which were pasted from the clipboard or created as inset plots are not saved with it, as these are memory-resident only. In the case of an object which was placed by reading a file, the path to that file is saved in the file’s tailer, and can be recalled later using the TA command.

Subcommands:

A – Add currently displayed region as an inset plot
C – Paste the clipboard contents
D – Delete currently selected Meta Object
I – Import a graphical object from a file
N – Move to next Meta Object in linked list
R – Move to previous Meta Object in linked list
Shift-F1 – brings up Help for the MO subroutine
<Enter> – exit the MO subroutine

There is also the option of defining one or more graphical objects in the nuts.ini file (such as a company logo) which will be displayed on the screen automatically. This is demonstrated by the display of the acorn in the upper left corner of the screen. This can be removed by editing the nuts.ini file or, while Nuts is running, by deleting it from within the MO subroutine.

Main Help page

Command Index

 


Last updated: 7/13/05.