Cursor()

Displays a cursor on the graphics screen to allow interactive annotation.

CURSOR [xval=Real] [yval=Real] Displays a cursor and waits for key press:

X-display X coordinate"
Y-display Y coordinate"
P-display both coordinates"
T-add text"
L- lower left corner of box"
U-draw box to upper right point"
E-exit

[/HORIZONTAL]   Annotation text horizontal
[/VERTICAL]   Annotation text vertical

example:

	# Display a cursor near the expected position
	# of a peak in world coordinates.
	>> Cursor/Horizontal 10000.0 50.0

Cursor

This command is used mainly for annotating a plot whilst it is on the screen. An obvious use is for tagging peaks with the data value in the X or Y direction at the point selected by the cursor.

The command enters a sub-system where only certain keystrokes are recognized. Annotation operations as listed above can be carried out repeatedly until the E key is pressed to terminate the command.

Parameters:

/Vertical

Sets the default for any annotation text to be drawn vertically (from bottom to top).

/Horizontal

Sets the default for any annotation text to be drawn horizontally, this is the default if no qualifiers are given.

Xval, Yval (Real)

Optional starting values for the cursor position. If a peak is known to be somewhere near the middle of the screen, for example, it can save unnecessary cursor movement. The default position for the cursor to appear is at (0,0) in the current window.