C_Linestyle Keyword
Used With Routines:  CONTOUR,  CONTOURFS,  CONTOUR2
Corresponding System Variable: None.
Specifies the linestyle used to draw each contour.
As with C_Colors, C_Linestyle is a vector of linestyle indices. If there are more contour levels than linestyles, the linestyles are cyclically repeated.
The Windows linestyles are only available on Windows platforms and affect only the following device drivers:
*WIN32—The standard windows display driver.
*WMF—The Windows Metafile driver.
*PM—The PixMap driver.
All other device drivers use the UNIX linestyles exclusively.
The Windows drivers listed above use the Windows linestyles by default. You may force the Windows drivers listed above to use the UNIX linestyles by setting the PV-WAVE system variable !UNIX_LINESTYLES to 1. (Default: !UNIX_LINESTYLES = 0)
Table 21-1: Available Linestyles lists the available linestyles and their keyword indices:
 
Available Linestyles
Index
X Windows Style
Windows Style
0
Solid
Solid
1
Dotted
Short dashes
2
Dashed
Long dashes
3
Dash dot
Long-short dashes
4
Dash-dot-dot-dot
Long-short-short dashes
5
Long dashes
Long dashes
 
note
The current contouring algorithm draws all the contours in each cell, rather than following contours. Hence, some of the more complicated linestyles will not be suitable for some applications.
Example
To produce a contour plot, with the contour levels directly specified in a vector V, with all negative contours drawn with dotted (UNIX) or dashed (Windows) lines, and with positive levels in solid lines:
c_lines = V LT 0.0
CONTOUR, Z, Levels=V, C_Linestyle=c_lines