Output Devices

PLplot supports a variety of output devices, via a set of device drivers. Each driver is required to emulate a small set of low-level graphics primitives such as initialization, line draw and page advance, as well as be completely independent of the PLplot package as a whole. Thus a driver may be very simple, as in the case of the many black and white file drivers (tektronix, etc.). More complicated and/or color systems require a bit more effort by the driver, with the most effort required by an output device with a graphical user interface, including menus for screen dumps, palette manipulation, and so forth. At present only the tk driver does the latter on Unix systems. At present we aren't pursuing a Macintosh development effort due to a lack of time and expertise, but will assist anyone wanting to volunteer for the job.

A Computer Graphics Metafile driver is under development and may be finished by the time you read this (see the release notes to be sure). Note that if you always render to a PLplot metafile, you can always plrender them to new devices as they become available.

The list of available devices presented when starting PLplot (via plstar) is determined at compile-time. When installing PLplot you may wish to exclude devices not available on your system in order to reduce screen clutter. To include a specified device, simply define the appropriate macro constant when building PLplot (see the installation instructions for your system).

The device drivers for PLplot terminal output at present are given in Table 3-1 while drivers for file output are given in Table 3-2. The driver for OS/2 PM is available separately. See the section on OS/2 in the Appendix for more details.

Table 3-1. PLplot Terminal Output Devices

Devicekeyworddriver file
X-Window Screenxwinxwin.c
Tcl/Tk widgettktk.c
Linux console VGAvgalinuxvga.c
Xterm Windowxtermtek.c
Tektronix Terminal (4010)tekttek.c
Tektronix Terminal (4105/4107)tek4107ttek.c
MS-Kermit emulatormskermittek.c
Versaterm vt100/tek emulatorversatermtek.c
VLT vt100/tek emulatorvlttek.c
Conex vt320/tek emulatorconextek.c
DG300 Terminaldg300dg300.c
NeXT display (unsupported)nxnext.c
GNOME displaygnomegnome.c

Table 3-2. PLplot File Output Devices

Devicekeyworddriver file
PLplot Native Meta-Fileplmetaplmeta.c
Tektronix File (4010)tekftek.c
Tektronix File (4105/4107)tek4107ftek.c
PostScript File (monochrome)psps.c
PostScript File (color)pscps.c
XFig filexfigxfig.c
LaserJet IIp Bitmap File ljiipljiip.c
LaserJet II Bitmap File (150 dpi)ljiiljii.c
HP 7470 Plotter File (HPGL Cartridge Small Plotter)hp7470hpgl.c
HP 7580 Plotter File (Large Plotter)hp7580hpgl.c
HP Laser Jet, HPGL filelj_hpglhpgl.c
Impress Fileimpimpress.c
Portable bitmap filepbmpbm.c
Null devicenullnull.c
JPEG filejpeggd.c
PNG filepnggd.c