Linestyle Keyword

Used With Routines: BAR3D, BOXPLOT, OPLOT, PLOT, PLOTS, POLYFILLSURFACE

Corresponding System Variable: !P.Linestyle

Specifies the linestyle used to draw the lines or connect data points.

For UNIX users, the line join style is “miter,” i.e., the outer edges of two lines extend to meet at an angle.For Windows users, the line join style is “round.”

The linestyle index is an integer, as shown in Available Linestyles.

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

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)