GETXLIDX

Purpose:

Returns the leftmost index of a displayed series in a Window.

Syntax:

GETXLIDX(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

An integer, the leftmost series index.

Example:

W1: 1..0.1..10;setx(5, 9);

 

lidx = getxlidx(W1);

lval = W1[lidx]

 

lidx == 41

lval == 5.0

 

indicating that the 41st sample of W1 is the leftmost sample and the associated value is 5.0.

Remarks:

GETXLIDX returns the index of the leftmost displayed series.

 

See GETYL to return the leftmost Y value of the displayed series.

See Also:

GETXL

GETXR

GETXRIDX

GETYL

GETYR

XTOIDX