The TVCRS function manipulates the cursor of the image display. Normally, the cursor is disabled and is not visible. TVCRS with one argument allows the cursor to be enabled or disabled. While TVCRS with two parameters enables the cursor and places it on pixel location (x, y). TVCRS has the form
TVCRS[, ON_OFF] TVCRS[, X, Y]
where the arguments and keywords are as follows:
Specifies whether the cursor should be on or off. If present and nonzero, the cursor is enabled. If ON_OFF is zero or no parameters are specified, the cursor is turned off.
The column to which the cursor will be set.
The row to which the cursor will be set.
TVCRS also takes various keywords that affect how it positions the cursor. Notably, the keywords DATA, DEVICE, and NORMAL specify the coordinate system. See the entry for TVCRS for details.