01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36 SET-SHOW gnuplot 4.0 109<br />

36.59.18 Emxvga<br />

The emxvga, emxvesa and vgal terminal drivers support PCs with SVGA, vesa SVGA and<br />

VGA graphics boards, respectively. They are intended to be compiled with "emx-gcc" under<br />

either DOS or OS/2. They also need VESA and SVGAKIT maintained by Johannes Martin<br />

(JMARTIN@GOOFY.ZDV.UNI-MAINZ.DE) with additions by David J. Liu (liu@phri.nyu.edu).<br />

Syntax:<br />

set terminal emxvga<br />

set terminal emxvesa {vesa-mode}<br />

set terminal vgal<br />

The only option is the vesa mode for emxvesa, which defaults to G640x480x256.<br />

36.59.19 Epslatex<br />

The epslatex driver generates output for further processing by LaTeX. Syntax:<br />

set terminal epslatex {default}<br />

{color | monochrome} {solid | dashed}<br />

{""} {}<br />

default mode sets all options to their defaults: monochrome, dashed, "default" and 11pt. Default<br />

size of a plot is 5 inches wide and 3 inches high.<br />

solid draws all plots with solid lines, overriding any dashed patterns; "" is the name of<br />

font; and is the size of the font in PostScript points. Font selection isn’t supported yet.<br />

Font size selection is supported only for the calculation of proper spacing. The actual LaTeX font at the<br />

point of inclusion is taken, so use LaTeX commands for changing fonts. If you use e.g. 12pt as font size<br />

for your LaTeX documents, use ’"default" 12’ as options.<br />

All drivers for LaTeX offer a special way of controlling text positioning: (a) If any text string begins<br />

with ’{’, you also need to include a ’}’ at the end of the text, and the whole text will be centered both<br />

horizontally and vertically by LaTeX. (b) If the text string begins with ’[’, you need to continue it with:<br />

a position specification (up to two out of t,b,l,r), ’]{’, the text itself, and finally, ’}’. The text itself may<br />

be anything LaTeX can typeset as an LR-box. \rule{}{}’s may help for best positioning. See also the<br />

documentation for the pslatex (p. 129) terminal driver. To create multiline labels, use \shortstack,<br />

for example<br />

set ylabel ’[r]{\shortstack{first line \\ second line}}’<br />

The driver produces two different files, one for the eps part of the figure and one for the LaTeX part.<br />

The name of the eps file is taken from the set output command. The name of the LaTeX file is derived<br />

by replacing the file extension (normally .eps) with .tex instead. There is no LaTeX output if no output<br />

file is given! Remember to close the output file before leaving gnuplot.<br />

In your LaTeX documents use ’\input{filename}’ to include the figure. The .eps file is included by the<br />

command \includegraphics{...}, so you must also include \usepackage{graphicx} in the LaTeX preamble.<br />

Pdf files can be made from the eps file using ’epstopdf’. If the graphics package is properly configured,<br />

the LaTeX files can also be processed by pdflatex without changes, using the pdf files instead of the eps<br />

files.<br />

36.59.20 Epson-180dpi<br />

This driver supports a family of Epson printers and derivatives.<br />

epson-180dpi and epson-60dpi are drivers for Epson LQ-style 24-pin printers with resolutions of 180<br />

and 60 dots per inch, respectively.<br />

epson-lx800 is a generic 9-pin driver appropriate for printers like the Epson LX-800, the Star NL-10<br />

and NX-1000, the PROPRINTER, and so forth.<br />

nec-cp6 is generic 24-pin driver that can be used for printers like the NEC CP6 and the Epson LQ-800.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!