DADiSP Worksheet Functions > Function Categories > Colors > GETWCOLOR
Returns the color of a Window or its data series.
GETWCOLOR(win, sernum)
win |
- |
Optional. Window reference. Defaults to the current Window. |
sernum |
- |
Optional. An integer designating the series number. Defaults to 0 (no series). |
An integer representing a color.
getwcolor
returns the number corresponding to the inner color of the current Window.
W1: gnorm(1000, 1);setcolor(lred)
strcolor(getwcolor(w1, 1));
returns "LRED", the color of the first series in W1.