GETXRIDX

Purpose:

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

Syntax:

GETXRIDX(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);

 

ridx = getxridx(W1);

rval = W1[ridx]

 

ridx == 81

rval == 9.0

 

indicating that the 81st sample of W1 is the rightmost sample and the associated value is 9.0.

Remarks:

GETXRIDX returns the index of the leftmost displayed series.

 

See GETYR to return the rightmost Y value of the displayed series.

See Also:

GETXL

GETXLIDX

GETXR

GETYL

GETYR

XTOIDX