Flips the Y scales of a window.
WINFLIPY(win, updown)
win |
- |
Optional. A window, defaults to the current Window. |
||||||
updown |
- |
Optional. An integer, the scales mode:
|
Nothing, the Y scales are flipped.
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.
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.
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.