GETXTIME

Purpose:

Returns the x-axis coordinate range of a Window as time values.

Syntax:

GETXTIME(win)

(xltime, xrtime) = GETXTIME(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

A string, the left hand time value of the displayed data.

 

(xltime, xrtime) = GETDATE(win) returns both the left and right time strings.

Example:

W1:gnorm(1000, 1);settime("8:00");sethunits("time");

setxtime(W1, "8:05", "8:10");

(xltime, xrtime) = getxtime(W1);

 

xltime == "8:05"

xrtime == "8:10"

 

creates a 1000 point series with horizontal time units of Time. The starting time is 8:00. The X axis is set to display data between 8:05 and 8:10. The left and right time strings of the displayed data are returned.

Remarks:

The horizontal units of the series must be a date time such as Time or Real Time.

 

See SETXTIME to set the x-axis coordinates in time values.

 

See GETXL and GETXR to return the x-axis coordinates in terms of the delta-x between values.

See Also:

GETXL

GETXR

GETXDATE

SETX

SETXDATE

SETXTIME