8.1.2 Default settings

In addition to setting these parameters on a per-dataset basis, the linewidth, pointlinewidth and pointsize settings can also have their default values changed for all datasets as in the following examples:

set linewidth 1
set pointlinewidth 2
set pointsize 3
plot "datafile"

In each case, the normal default values of these settings are 1. The default values of the color, linetype and pointtype settings depend whether the current graphic output device is set to produce color or monochrome output (see Chapter 9.1).

In the case of color output, the colors of each of the comma-separated datasets plotted on a graph are drawn sequentially from the currently-selected palette, and all lines are drawn as solid lines (line­type 1). The symbols used to draw each dataset are drawn sequentially from Pyxplot’s available point types. In the case of monochrome output, all datasets are plotted in black and both the line types and point types used to draw each dataset are drawn sequentially from Pyxplot’s available options.

The following simple example demonstrates this:

set terminal color
plot [][6:0] 1 with lp, 2 with lp, 3 w lp, 4 w lp, 5 w lp
set terminal monochrome
replot

\includegraphics[width=\textwidth ]{examples/eps/ex_col_vs_mono}