SETYAUTO

Purpose:

Specifies the y-axis Window coordinates for autoscaling.

Syntax:

SETYAUTO(win, ybottom, ytop)

win

-

Optional. Window reference. Defaults to the current Window.

ybottom

-

A real. Bottom Window boundary.

ytop

-

A real. Top Window boundary.

Example:

W1: 1..1000;setyauto(400, 600)

 

Generates a 1000 point linear series. The bottom coordinate of the Window will be set to 400 and the top coordinate to 600 when the Window is autoscaled. The default autoscale coordinates would have been -200 and 1000.

Remarks:

A Window can be autoscaled with the AUTOSCALE function, by pressing Ctrl-Home when the Window is activated, by pressing the Autoscale button or selecting Autoscale from the right click popup menu.

 

Use setyauto(-1, -1) to set automatic y-axis autoscaling. CLEAR also resets autoscaling to automatic.

 

See SETYRANGE to set the autoscale range and number of tics to force labels on the first and last tics.

See Also:

AUTOSCALE

CLEAR

GETXL

GETXR

GETYT

GETYB

SETX

SETXAUTO

SETXY

SETY

SETYRANGE

SETZAUTO

WINFLIPY