Returns an integer corresponding to number of the curve in focus in the specified Window.
GETFOCUS(win)
win |
- |
Optional. A window, defaults to the current Window. |
An integer.
W1:gsin(100,.01);overlay(grand(10,5),LRED);focus(2)
getfocus(W1)
returns the value 2; the light red series of random noise is in focus.
GETFOCUS is useful when maneuvering in Windows with many overlayed series.