SETY

Purpose:

Specifies the y-axis coordinate range of a Window.

Syntax:

SETY(win, ybottom, ytop)

win

-

Optional. Window reference. Defaults to the current Window.

ybottom

-

A real. Bottom Window boundary.

ytop

-

A real. Top Window boundary.

Returns:

Nothing, the displayed y-axis coordinates are set.

Example:

W1: gnorm(1000,1);sety(-1, 1)

 

 

Generates a 1000 point random series. The bottom and top of the Window is set to -1 and 1.

Example:

W2: gnorm(1000,1);sety(min, max)

 

sets the y-axis range from the minimum value of the series to the maximum value of the series.

Example:

W1: spline2(randn(5), 40);setplottype(4);rainbow;sethatch(0);gridhv

W2: W1;rainbow;sety(0, 2);sethatch(0);gridhv

 

W1 contains a high density 3D surface.

W2 contains the same surface, but sets the Y plot range from 0 to 2. Values outside the Y range are not displayed.

Remarks:

SETY will expand or compress the current units scale. To refresh the Window and redraw appropriate scales, toggle the [F5] key or Scales toolbar button.

 

See SETYAUTO to set the y-axis coordinates for autoscaling.

 

See SETYRANGE to set the y-axis autoscale coordinates and tics.

See Also:

GETXL

GETXR

GETYB

GETYT

SETSTRIPCHARTY

SETWSX

SETWSY

SETX

SETXY

SETYAUTO

SETYRANGE

SETZ

WINFLIPY