Displays table data as a contour plot.
CONTOUR(table, levels, incolor, labeling, factor)
table |
- |
A multi-column series. | ||||
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. Each axis is defined by two (x, y) coordinate pairs, either as x1, y1, x2, y2; or x1,y1, x2, y2, x3, y3, x4, y4. If four label points are entered, labels are drawn on an axis from (x1, y1) to (x2, y2). If eight label points are entered, labels are drawn on two axes: one axis from (x1, y1) to (x2, y2), and the second axis from (x3, y3) to (x4, y4). Defaults to no labels. | ||||
factor |
- |
Optional integer specifying the contour label factor. The factor specifies that every nth intersecting contour will be labeled. Defaults to 1. |
W1: spline2(rand(20), 4)
W2: contour(W1, 6, 0, 0.0, 0.0, 20.0, 20.0, 5)
shows contents of W1 as a 6 level contour, with labels drawn wherever the contour lines cross an Imaginary line with endpoints of (0.0, 0.0) and (20.0, 20.0) (i.e., a diagonal line). The background of the plot is not filled and every 5th intersecting contour is labeled.
W3: contour(W1, 6, 1, 0.0, 0.0, 20.0, 20.0, 5)
Same as above, except the background of the contour is filled based on the magnitude of the data and the current color map.
CONTOUR can be obtained by pressing [F7] or executing SETPLOTTYPE(2).
Up to two axes (eight real numbers specifying a total of four coordinates) can be specified for labeling.