Skip to main content

hcsr

hcsr (cursorName [, graphNameStr])​

The hcsr function returns the horizontal coordinate of the named cursor (A through J) in the coordinate system of the top (or named) graph's X axis.

Parameters​

cursorName identifies the cursor, which can be cursor A through J.

graphNameStr specifies the graph window or subwindow.

When identifying a subwindow with graphNameStr, see Subwindow Syntax for details on forming the window hierarchy.

Details​

The X axis used is the one that controls the trace on which the cursor is placed.

Examples​

Variable xAxisValueAtCursorA = hcsr(A) // not hcsr("A")
String str="A"
Variable xA= hcsr($str,"Graph0") // $str is a name, too

See Also​

pcsr, qcsr, vcsr, xcsr, zcsr

Programming With Cursors