RotatingPlot.GetNumLevels

Prototypes

int GetNumLevels()

Return Value

The return value is the number of contour levels in the plot.

Parameters

None

Remarks

This method returns the number of contour levels in the plot.

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();
n = plot.GetNumLevels();
print n;
See Also

RotatingPlot.GetLevels