RotatingPlot.SetContourColor

Prototypes

void SetContourColor( <int nLevelNum,> int nColor )

void SetContourColor( <int nLevelNum,> int nRed, int nGreen, int nBlue )

Parameters

int nLevelNum
The number (1-based) of the level whose color you want to set. If you do not specify the nLevelNum parameter, the method sets the color of all the projected contour lines.

int nColor
A predefined constant specifying the desired color. The valid values are BLACK, BLUE, BROWN, CHARCOAL, CREAM, CYAN, GOLD, GRAY, GREY, GREEN, LILAC, LIME, MAGENTA, MAROON, OLIVE, ORANGE, PINK, PURPLE, RED, ROSE, SALMON, STEEL, TAN, VIOLET, WHITE, and YELLOW.

int nRed, nGreen, nBlue
An RGB specification of the desired color. Each parameter must be an integer in the range [0, 255]. Examples: the triplet (0, 0, 0) represents black; the triplet (255, 255, 255) represents white.

Remarks

This method sets the color of the projected contour lines associated with the specified level.

Example
x = { 0 10 10  0 1 9 9 1 2 8 8 2 3 7 7 3 4 6 6 4 5 };
y = { 0  0 10 10 1 1 9 9 2 2 8 8 3 3 7 7 4 4 6 6 5 };
z = { 0  0  0  0 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 };
declare RotatingPlot plot = RotatingPlot.Create( "Pyramid", x, y, z, false );
plot.SetDrawingMode( SMOOTHCOLORMESH );
plot.ShowWindow();
plot.SetContourColor( 1, BLUE );
See Also

RotatingPlot.SetContourStyle
RotatingPlot.SetContourWidth