Contour line properties

Syntax: CONTOUR\COLORS colr { x y } z nctr { min { incr }}
CONTOUR\LINETYPES ltype { x y } z nctr { min { incr }}
CONTOUR\LINEWIDTHS lwidth { x y } z nctr { min { incr }}
CONTOUR\LINETYPES\LINEWIDTHS\COLORS colr ltype lwidth { x y } z nctr { min { incr }}
CONTOUR\SPECIFIC\COLORS colr { x y } v lvls
CONTOUR\SPECIFIC\LINETYPES ltype { x y } v lvls
CONTOUR\SPECIFIC\LINEWIDTHS lwidth { x y } v lvls
CONTOUR\SPECIFIC\LINEWIDTHS\LINETYPES\COLORS colr ltype lwidth ntrp { x y } v lvls

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 command to set the label height to zero before entering the CONTOUR command.

 Contour level selection
 Legend