In addition to being used to select the graphical format in which output should be produced, the set terminal command takes many options for fine-tuning the behaviours of particular terminals. Its complete syntax is:
set terminal ( X11_SingleWindow | X11_MultiWindow | X11_Persist | bmp | eps | gif | jpeg | pdf | png | postscript | svg | tiff ) ( colour | color | monochrome ) ( dpi <value> ) ( portrait | landscape ) ( invert | noinvert ) ( transparent | solid ) ( antialias | noantialias ) ( enlarge | noenlarge )
The following table lists the effects which each of these settings has:
X11_SingleWindow |
Displays plots on the screen (in X11 windows, using Ghostviewor other viewing application selected using the set viewer command). Each time a new plot is generated, it replaces the old one, to prevent the desktop from becoming flooded with old plots.1 [default when running interactively; see below] |
X11_MultiWindow |
As above, but each new plot appears in a new window, and the old plots remain visible. As many plots as may be desired can be left on the desktop simultaneously. |
X11_Persist |
As above, but plot windows remain open after PyXPlot closes. |
bmp |
Sends output to a Windows bitmap (.bmp) file. The filename for this file should be set using set output. This is a bitmap graphics terminal. |
eps |
|
gif |
As above, but produces a gif image. This is a bitmap graphics terminal. |
jpeg |
As above, but produces a jpeg image. This is a bitmap graphics terminal. |
png |
As above, but produces a png image. This is a bitmap graphics terminal. |
postscript |
As above, but sends output to a PostScript file. [default when running non-interactively; see below] |
svg |
As above, but produces an svg image.2 |
tiff |
As above, but produces a tiff image. This is a bitmap graphics terminal. |
colour |
Allows datasets to be plotted in colour. Automatically they will be displayed in a series of different colours, or alternatively colours may be specified using the with colour plot modifier (see below). [default] |
color |
Equivalent US spelling of the above. |
monochrome |
Opposite to the above; all datasets will be plotted in black by default. |
dpi |
Sets the number of dots per inch at which rasterised graphic output should be sampled (i.e. the output image resolution) |
portrait |
Sets plots to be displayed in upright (normal) orientation. [default] |
landscape |
Opposite of the above; produces side-ways plots. Not very useful when displayed on the screen, but you fit more on a sheet of paper that way around. |
invert |
Modifier for the bitmap output terminals identified above – i.e. the bmp, gif, jpeg, png and tiff terminals – which produces output with inverted colours.3 |
noinvert |
Modifier for the bitmap output terminals identified above; opposite to the above. [default] |
transparent |
Modifier for the gif and png terminals; produces output with a transparent background. |
solid |
Modifier for the gif and png terminals; opposite to the above. [default] |
antialias |
Modifier for the bitmap output terminals identified above; produces antialiased output, with colour boundaries smoothed to disguise the effects of pixelisation [default] |
noantialias |
Modifier for the bitmap output terminals identified above; opposite to the above |
enlarge |
|
noenlarge |
Do not enlarge output; opposite to the above. [default] |
Footnotes