Retrieve position of crosshair cursor
(x, y) = ds9_get_crosshair()
(x, y) = ds9_get_crosshair( [ coord_sys, handle ] )
Return the position of the crosshair cursor, under the same coordinate system and return-value constraints as those described for ds9_get_coords. (0,0) will be returned when the current frame is not displaying an image. (-1,-1) will be returned upon error (e.g. when no frames exist).
When an image is loaded into a frame the crosshair cursor will be positioned at its center, even if the crosshair is invisible.
- ds9
-
ds9_center,
ds9_clear,
ds9_get_array,
ds9_get_cmap,
ds9_get_coords,
ds9_get_file,
ds9_get_regions,
ds9_get_scale,
ds9_get_zoom,
ds9_launch,
ds9_pan,
ds9_put_array,
ds9_put_crosshair,
ds9_put_file,
ds9_put_regions,
ds9_put_wcs,
ds9_put_wcs_keys,
ds9_put_wcs_struct,
ds9_quit,
ds9_set_cmap,
ds9_set_scale,
ds9_set_zoom,
ds9_view
- modules
-
ds9
|