|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./plotter gbtcursormoved.pro
gbtcursormoved |
function gbtcursormoved(xdevice, ydevice, position_text=position_text) |
Update the plotter due to a mouse event's xdevice and ydevice values.
This updates the tracked position string on the plotter and, if the crosshair is active, moves the crosshar to this new position. This assumes that wset has already been done on the appropriate window. The input positions are converted to data coordinates and returned so that they can be used elsewhere.
Parameters | |
xdevice |
The mouse.x value. |
ydevice |
The mouse.y value. |
Keywords | |
position_text |
. |