Syntax: |
CONTOUR\COLORS colr { x y } z nctr { min { incr }}
|
Colors
By default, contour lines are drawn in black. If the \COLORS
qualifier is used, a color vector, colr
, is expected as the
first parameter. If the length of colr
is less than the
number of contours requested, the colors are recycled. For example, entering
[-1;-1;-1;-1;-2] causes all contours to be drawn in black (fixed color code -1)
except for every fifth contour to be drawn in red (fixed color code -2). A positive numeric value
represents the index of the color in the currently loaded colormap, while a negative number
represents the index of the fixed color.
Line type and line width
By default, contour lines are drawn with a width of one, and using line type one (a normal solid line).
The user can specify the type and width of each contour line using the
\LINETYPES
and \LINEWIDTHS
qualifiers.
If the \LINETYPES
qualifier is used, a linetype vector, ltype
, is expected as the
first parameter (or the second parameter if the \COLORS
is used
as well). If the length of ltype
is less than the
number of contours requested, the linetypes are recycled. For example, entering
[1;1;1;1;2] causes all contours to be drawn using linetype 1 except for every fifth contour
to be drawn using linetype 2.
If the \LINEWIDTHS
qualifier is used, a linewidth vector, lwidth
, is expected as the
first parameter (or the second parameter if the \COLORS
is used
as well, or the third parameter if the \LINETYPES
is also used).
If the length of lwidth
is less than the
number of contours requested, the linewidths are recycled. For example, entering
[1;1;1;1;2] causes all contours to be drawn using linewidth 1 except for every fifth contour
to be drawn using linewidth 2.
Contour labels
By default, contours are labeled with the actual contour level. See the discussion on the
\LEGEND
qualifier for an alternate contour labeling facility.
The size of the contour labels is
CONTOURLABELHEIGHT
or %CONTOURLABELHEIGHT
.
If labels are not desired on the contours, use the
SET CONTOURLABELHEIGHT 0
CONTOUR
command.