GETWCOLOR

Purpose:

Returns the color of a Window or its data series.

Syntax:

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).

Returns:

An integer representing a color.

Example:

getwcolor

 

returns the number corresponding to the inner color of the current Window.

Example:

W1: gnorm(1000, 1);setcolor(lred)

 

strcolor(getwcolor(w1, 1));

 

returns "LRED", the color of the first series in W1.

See Also:

COLORSTR

DEFCOLOR

GETCOLOR

SETGCOLOR

STRCOLOR

WINCOLOR