GETXR

Purpose:

Returns the rightmost x coordinate in a Window.

Syntax:

GETXR(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

A real number.

Example:

W1: gnorm(1000, 1);setx(100, 200);

xr = getxr(w1);

 

xr == 200

 

creates a 1000 point series and sets the display range from 100 to 200. The right hand value is returned.

Example:

setx(getxl(W2), getxr(W2))

 

sets the current Window's x-axis range to be the same as that of

Window 2.

Example:

setx(2*getxl, 2*getxr)

 

doubles the x-range.

Remarks:

See GETYR to return the rightmost y value of a series displayed in a Window.

 

See GETXDATE to return the x-axis coordinates in date values for a series with a date horizontal units.

 

See GETXTIME to return the x-axis coordinates in time values for a series with a time horizontal units.

See Also:

GETXDATE

GETXTIME

GETXL

GETYB

GETYL

GETYR

GETYT

SETX

SETXY

SETY