5.23.49 terminal

set terminal <terminal type> [<option> ... ]

Syntax:

set terminal { X11_singlewindow | X11_multiwindow | X11_persist | 
               postscript | eps | pdf | gif | png | jpg } 
             { colour | color | monochrome } 
             { portrait | landscape } 
             { invert | noinvert } 
             { transparent | solid }
             { enlarge | noenlarge }

The set terminal command controls the graphic format in which PyXPlot should output plots, for example setting whether it should output plots to files or display them in a window on the screen. Various options can also be set within many of the graphic formats which PyXPlot supports using this command.

The following graphic formats are supported: X11_singlewindow,
X11_multiwindow, X11_persist, postscript, eps, pdf, gif, jpeg, png. To select one of these formats, simply type the name of the desired format after the set terminal command. To obtain more details on each, see the subtopics below.

The following settings, which can also be typed following the set terminal command, are used to change the options within some of these graphic formats: colour, monochrome, enhanced, noenhanced, portrait, landscape, invert, noinvert, transparent, solid, enlarge, noenlarge. Details of each of these can be found below.

colour

The colour terminal option causes plots to be produced in colour.

color

The color terminal option is provided for the convenience of users unable to spell colour.

enlarge

The enlarge terminal option causes the complete plot to be enlarged or shrunk to fit the current paper size.

eps

set terminal eps [<option> ... ]

Sends output to eps files. The filename to which output is to be sent should be set using the set output command; the default is ‘pyxplot.eps’. This terminal produces encapsulated postscript suitable for including in, for example, LaTeXdocuments.

gif

set terminal gif [<option> ... ]

The gif terminal renders output as gif files. The filename to which output is to be sent should be set using the set output command; the default is pyxplot.gif. The number of dots per inch used can be changed using the dpi option; the filename using set output. Transparent gifs can be produced with the transparent option. Also of relevance is the invert option for producing gifs with inverted colours.

invert

The invert terminal option causes the bitmap terminals (gif, jpeg, png) to produce output with inverted colours. Useful for producing plots for slideshows, where bright colours on a dark background may be desired.

jpeg

set terminal jpeg [<option> ... ]

The jpeg terminal renders output as jpeg files. The filename to which output is to be sent should be set using the set output command; the default is pyxplot.jpg. The number of dots per inch used can be changed using the dpi option. Of relevance is the invert option for producing jpegs with inverted colours.

landscape

The landscape terminal option causes PyXPlot’s output to be displayed in rotated orientation. Useful for printing as you get more on your sheet of paper that way around; probably less useful for plotting things on screen.

monochrome

The monochrome terminal option causes plots to be rendered in black and white; by default, different dash styles are used to differentiate between lines on plots with several datasets.

noenlarge

The noenlarge terminal option causes the output not to be scaled (the opposite of enlarge above).

noinvert

The noinvert terminal option causes the bitmap terminals (gif, jpeg, png) to produce normal output without inverted colours. The converse of inverse.

pdf

set terminal pdf [<option> ... ]

The pdf terminal options causes pdf format output files to be produced.

png

set terminal png [<option> ... ]

The png terminal renders output as png files. The filename to which output is to be sent should be set using the set output command; the default is pyxplot.png. The number of dots per inch used can be changed using the dpi option; the filename using set output. Transparent pngs can be produced with the transparent option. Also of relevance is the invert option for producing pngs with inverted colours.

portrait

The portrait terminal option causes PyXPlot’s output to be displayed in upright (normal) orientation.

postscript

set terminal postscript [<option> ... ]

Sends output to postscript files. The filename to which output is to be sent should be set using the set output command; the default is pyxplot.ps. This terminal produces non-encapsulated postscript suitable for sending directly to a printer.

solid

The solid option causes the gif and png terminals to produce output with a non-transparent background. The converse of transparent.

transparent

The transparent terminal option causes the gif and png terminals to produce output with a transparent background.

X11_multiwindow

Displays plots on the screen (in X11 windows, using ghostview). Each time a new plot is generated it 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

Displays plots on the screen in X11 windows, using ghostview. Each time a new plot is generated it appears in a new window, and the old plots remain visible. When PyXPlot is exited the windows remain in place until they are closed manually.

X11_singlewindow

Displays plots on the screen (in X11 windows, using ghostview). Each time a new plot is generated it replaces the old one, preventing the desktop from becoming flooded with old plots. This terminal is the default when running interactively.