Returns the leftmost Y value of a series displayed in a Window.
GETYL(win)
(yl, idx) = GETYL(win)
win |
- |
Optional. Window reference. Defaults to the current Window. |
A real or complex value, the leftmost Y value.
(yl, idx) = GETYL(win) returns the Y value and associated index.
W1: 1..0.1..10;setx(5, 9);
yl = getyl(W1);
yl == 5.0
indicating the leftmost sample of the series displayed in W1 has a value of 5.0.
W1: 1..0.1..10;setx(5, 9);
(yl, idx) = getyl(W1);
yl == 5.0
idx == 41
indicating the leftmost sample of the series displayed in W1 has a value of 5.0 and occurs at index 41.
See GETYR to returns the rightmost Y value a displayed series.