1.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 colour, linetype and pointtype settings depend upon whether the current graphic output device is set to produce colour or monochrome output (see Chapter 2.1). In the former case (colour output), the colours of each of the comma-separated datasets plotted on a graph are drawn sequentially from the currently-selected palette, all lines are drawn as solid lines (line­type 1), and the symbols used to draw each dataset are drawn sequentially from PyXPlot’s available point types. In the latter case (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 colour
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}