Graphics command menu

The items in the graphics command menu can be picked only when the graphics interface has been activated (command GRAPHICS). Some of them are also available as quick commands (one keystroke).

tty

Activates the tty input mode. This is the inverse of the command GRAPHICS.

This can also be used when ANSIG asks the user for some input while the graphics is activated: control will temporarily be turned over the tty, and the user can type the answer using the keyboard. This is the way to assign a non-sequence name to a crosspeak, for example.


yes

Used to answer various questions when the graphics is activated.

no

Used to answer various questions when the graphics is activated.

current

Defines the visible area (including scroll bars, if any) in the current window as the current spectrum area. Useful before making contours or downloading crosspeaks. This is the inverse of the area item.

Note that the scroll bar positions (if any) is relevant when setting the current spectrum area.


area

Forces the visible area (including scroll bars, if any) in the current window to be that of the current spectrum area. This is the inverse of the current item.

box

Activates a box in the current window for the user to interacively position. When the yes item is picked, the area encompassed by the box (and the scroll bars, if any) is defined as the current spectrum area. If the abort item is picked, then current spectrum area is unchanged. The initial position of the box is the current spectrum area.

ruler

Outputs the current position of the rulers in the current window to the tty.

window

Creates a new spectrum window, to be positioned and size interactively by the user.

abort

Aborts any active input, command, macro or AL procedure. Control is returned to the user.

The abort command only stops the execution of the command if it is waiting for input. It cannot stop the execution of the command if it is running.


contours spectrum

Downloads contours for the given spectrum in the current spectrum area. If contour file(s) have been defined and are active, then contours will be read from the file(s). If not, then contours are computed directly from the spectrum matrix. If contours are computed directly from the spectrum matrix, then it is possible to stop the execution by pressing the ESC key or the Q key while the mouse pointer is inside a graphics window.

crosspeaks spectrum

Downloads the crosspeaks for the given spectrum within the current spectrum area.

connections spectrum

Downloads all connections between the already loaded crosspeaks in the given spectrum.

assignments spectrum

Downloads all assignment labels for the already loaded crosspeaks in the given spectrum.

color contours spectrum

Change color interactively for the contours in a given spectrum.

color crosspeaks spectrum

Change color interactively for the crosspeaks (and their connections and assignments) in a given spectrum.

Three color scroll bars appear in the commands menu window which determine the color for the given graphical objects. The scroll bar positions can be changed while they are visible. To exit, pick any object, except the abort item, which will change the color back to its original value.


clear contours spectrum

clear crosspeaks spectrum

clear connections spectrum

clear assignments spectrum

Clear away all graphical objects of the given kind from the given spectrum. If the crosspeaks are cleared, then the connections and assignments in that spectrum will also be cleared.

This command does not affect the crosspeak data itself in any way, just what is currently visible on the graphics display.


plane expnucleus1 expnucleus2

Changes the expnucleus plane of the current window. The views of the spectra will be set to their default values within this window.

trace spectrum dimension

The TRACE command is not properly documented, and the command contains some bugs which have not been sorted out yet.

A special window for 1D traces is brought up. In it is displayed the 1D trace of the given spectrum along the position of the ruler in the given window dimension in the current window. The length of the trace is the same as the length of the chosen ruler seen in the current window.


view spectrum dimension1 dimension2

Changes the plane of a spectrum that is to be viewed in the current window.

toggle spectrum

Toggles on or off the display of the graphical objects in a given spectrum in all windows.

This is a quick and completely reversible way to reduce the clutter on the display. The objects are not cleared, and may be redisplayed again by toggling the spectrum again. The command GRAPHICS TOGGLE switches on all spectra again.

The keyboard digits can be used instead: Hit the key followed by a digit key. Key '1' toggles the first spectrum, '2' the second, and so on. Key '0' toggles on all spectra.


1H 15N 13C 13CO 31P

To be used as arguments for the plane. The list contains all expnuclei implemented in the ANSIG program, regardless of which expnuclei are actually present in the spectra.

delete crosspeak

Deletes a crosspeak from the database and from the graphics. The crosspeak must not have any connections or assignments.

merge crosspeak1 crosspeak2

Merges two crosspeaks into one. At most one of the crosspeaks may have connections or assignments.

connect crosspeak1 crosspeak2

Connects two crosspeaks along a dimension.

symmetry crosspeak1 crosspeak2

Sets the two crosspeaks to be symmetry-related.

correspond crosspeak1 crosspeak2

Sets the two crosspeaks to be corresponding.

disconnect dimension crosspeak

Removes the given crosspeak from its connections in the given dimension.

remove connect crosspeak

remove symmetry crosspeak

remove correspond crosspeak

remove assignments crosspeak

Removes the given data for a crosspeak. The connections and assignments in all dimensions are removed Warning: The removal of assignments are propagated along the connections as usual, so it is usually a good idea to remove all connections first.

pick spectrum

Creates a crosspeak in the given spectrum at the indicated position. The command asks the user to indicate the position in the spectrum, and this is done by pointing to the position in any graphics window and clicking the middle mouse button. The spectrum must be viewed in the graphics window. It is possible to translate and scale the spectrum and change the non-plane scroll-bars (if any) before pointing to the position.

For 3D and 4D spectra, the position in the non-plane dimensions will be taken as the middle of the currently displayed volume, i.e. the middle of the non-plane scroll bars.

The crosspeak is not integrated automatically. The intensity value given to it corresponds to the average of the already existing crosspeaks in that spectrum.


auto crosspeak

Invokes the auto AL procedure defined for the spectrum the crosspeak is in. The AL procedure must have been compiled and set for the spectrum using the SET AUTO command.

move crosspeak

Switch on interactive move of the given crosspeak. The crosspeak must not have any connections or assignments.

A white moveable crosspeak appears when this command is activated. The moveable crosspeak object is moved by clicking the middle mouse button while pointing to it, and dragging it to the new position, and then releasing the mouse button.

The data for the crosspeak in the database is not updated until the user picks the yes item in the command menu. If the abort or no items are picked, then the crosspeak data is not updated.


mark crosspeak

Put marker lines at the coordinates of the crosspeak. The lines are dashed, and cannot be picked. The lines appear in all windows at all coordinates specified by the crosspeak. If the crosspeak is in a spectrum with aliased/folded dimensions, then the lines also appear at the aliased/folded positions.

mark yes

mark no

The marker can be switched on and off by picking the yes or no items instead of a crosspeak.

clean crosspeak

Removes all connections and assignments for a crosspeak in such an order that the assignments of no other crosspeaks are affected.

spectrum list

The spectrum names are filled in automatically as the first 8 spectra in the spectrum description file. No other spectra are available on the graphics display.

To change this, one needs to exit from ANSIG, and edit the spectrum description file so that the desired 8 spectra appear first in it.

If a spectrum name is picked on its own, then the command SHOW SPECTRUM is executed, i.e. all information about the spectrum is output to the tty.


deassign sequence dimension crosspeak

deassign residue dimension crosspeak

deassign nucleus dimension crosspeak

Remove the assignment in the given field and dimension for a crosspeak. The change is propagated in the usual way.

sequence string dimension crosspeak

Put the given string into the sequence field in the given dimension for a crosspeak. The string can be given by picking a sequence name in the sequence scrolling list, or by picking the tty item and typing in the string using the keyboard. The usual consistency checks for the combined assignment is done, and the change is propagated as usual.

residue string dimension crosspeak

Put the given string into the residue field in the given dimension for a crosspeak. The string can be given by picking a residue name in the sequence scrolling list, or by picking the tty item and typing in the string using the keyboard. The usual consistency checks for the combined assignment is done, and the change is propagated as usual.

nucleus string dimension crosspeak

Put the given string into the nucleus field in the given dimension for a crosspeak. The string can be given by picking a nucleus name in the nucleus scrolling list, or by picking the tty item and typing in the string using the keyboard. The usual consistency checks for the combined assignment is done, and the change is propagated as usual.

F1 F2 F3 F4

The F dimension items are to be used as arguments for several commands in the graphics command menu.

sequence list

The names of the sequence residues and their types are given in a scrolling list. Use the scroll bar to move the list.

These items are to be used as arguments for the assignment command menu items.

If a sequence or residue item is picked on its own, then the command SHOW SEQUENCE or SHOW RESIDUE is executed with the relevant item as argument, i.e. all information about the sequence residue or residue type is output to the tty.


nucleus list

The names of all nuclei in all residues in the dictionary are collected in lexical order in the nucleus scrolling list. It it controlled by the same scroll bar as the seqence list, although it is really logically independent of it.

user menu

The user menu can be filled with macro names or other strings (max 12 characters) by the user.

This is how macros are made easily accessible from the graphics. If the item is picked, then that string is executed as if it had been entered as a command. This means that the macro is activated simply by picking the menu item. See also: GRAPHICS MENU


quick commands

When the graphics has been activated, then some commands can be issued by one keystroke as well as by picking the item in the command menu.

key graphics menu command comment
ESC or Q abort can be given at almost any time
TAB digit toggle note: TAB followed by digit;
if digit=0 then toggle all on
A auto invoke auto AL procedure
S sequence assign sequence
R residue assign residue
N nucleus assign nucleus
D delete
C connect
Y symmetry
O correspond
M mark
T tty switch to tty input mode


Per Kraulis 15 Apr 1996.