About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/slds9_get_crosshair.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 ds9_get_crosshair Context: ds9

Synopsis

Retrieve position of crosshair cursor

Syntax

(x, y) = ds9_get_crosshair()
(x, y) = ds9_get_crosshair( [ coord_sys, handle ] )

Description

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).

NOTES

When an image is loaded into a frame the crosshair cursor will be positioned at its center, even if the crosshair is invisible.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.