DADiSP Worksheet Functions > Function Categories > 3D and 4D Graphics > CONTOURSET
Specifies how a contour plot is to be displayed.
CONTOURSET(levels, incolor, labeling, interval)
levels |
- |
Optional. An Integer. The number of contour levels to draw. Defaults to 10. |
||||
incolor |
- |
Optional. An integer, the color flag:
|
||||
labeling |
- |
Optional. 4 or 8 real numbers representing end points of labeling axes. Label points are interpreted as a list of |
||||
interval |
- |
Optional. An integer. Specifies the labeling interval. Defaults to 1, label each crossing. |
W1: contour(spline2(rand(10), 5));cool
contourset(10, 1, 0.0, 0.0, 9.0, 9.0)
shows the contour plot as a 10-level contour, with labels drawn wherever the contour lines cross an imaginary line with endpoints of (0, 0) and (9, 9) (i.e., a diagonal that spans from the lower left to the upper right of the plot). The background of the plot is filled according to the magnitude of the data, with colors as defined by the COOL shading scheme.
W2: contour(spline2(rand(10), 5));cool
contourset(10, 1, 0.0, 0.0, 9.0, 9.0, 2)
same as above, except every other diagonal crossing is labeled.