ContourPlot.SetContourStyle

Prototypes

void SetContourStyle( <int nLevelNum,> int nStyle )

Parameters

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

int nStyle
A predefined constant specifying the line style of the contour lines. The valid values are SOLID, DASHED, DOTTED, DASHDOT, and DASHDOTDOT.

Remarks

This method sets the line style of the 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 ContourPlot plot;
plot = ContourPlot.Create( "Pyramid", x, y, z );
plot.SetContourStyle( 3, DOTTED );
See Also

ContourPlot.SetContourColor
ContourPlot.SetContourWidth