WINFLIPY

Purpose:

Flips the Y scales of a window.

Syntax:

WINFLIPY(win, updown)

win

-

Optional. A window, defaults to the current Window.

updown

-

Optional. An integer, the scales mode:

 

0:

bottom to top

 

1:

top to bottom (default)

Returns:

Nothing, the Y scales are flipped.

Example:

W1: integ(gnorm(1000, 1));

W2: w1;winflipy

 

W1 and W2 contain the same series. The Y scales go upward from the smallest to the largest value in W1 and the Y scales go upward from the largest to the smallest value in W2.

Example:

W1: density(spline2(rand(5), 20));

W2: w1;winflipy

 

W1 and W2 contain the same image. The Y scales go upward from the smallest to the largest value in W1 and the Y scales go upward from the largest to the smallest value in W2.

Remarks:

By default, the Y scales of a Window proceed bottom to top from the smallest value to the largest value. WINFLIPY flips the Y scales such that the values proceed bottom to top from the largest value to the smallest value.

 

WINFLIPY only changes the direction of the Y scales of a Window, the actual data remains unchanged.

See Also:

SETY

SETYAUTO

WINFLIPX