RotatingPlot.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 projected contour lines.

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

Remarks

This method sets the line style 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.Rotate( 3.14159/9, 1, 0, 1 );
plot.Rotate( 3*3.14159/4, 0, 1, 0 );
plot.ShowContours();
plot.FillContours();
plot.SetContourStyle( 2, DOTTED );
plot.ShowWindow();
See Also

RotatingPlot.SetContourColor
RotatingPlot.SetContourWidth