14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

182 <strong>gnuplot</strong> 4.3 77 TERMINAL<br />

Pointsizes may be changed with set linestyle.<br />

77.49 Pbm<br />

Several options may be set in the pbm terminal — the driver for PBMplus.<br />

Syntax:<br />

set terminal pbm {} {} {size ,}<br />

where is small, medium, or large and is monochrome, gray or color. The<br />

default plot size is 640 pixels wide and 480 pixels high.<br />

The output of the pbm driver depends upon : monochrome produces a portable bitmap (one<br />

bit per pixel), gray a portable graymap (three bits per pixel) and color a portable pixmap (color, four<br />

bits per pixel).<br />

The output of this driver can be used with various image conversion and manipulation utilities provided<br />

by NETPBM. Based on Jef Poskanzer’s PBMPLUS package, NETPBM provides programs to convert<br />

the above PBM formats to GIF, TIFF, MacPaint, Macintosh PICT, PCX, X11 bitmap and many others.<br />

Complete information is available at http://netpbm.sourceforge.net/.<br />

Examples:<br />

set terminal pbm small monochrome<br />

# defaults<br />

set terminal pbm color medium size 800,600<br />

set output ’| pnmrotate 45 | pnmtopng > tilted.png’ # uses NETPBM<br />

77.50 Pdf<br />

This terminal produces files in the Adobe Portable Document Format (PDF), useable for printing or<br />

display with tools like Acrobat Reader<br />

Syntax:<br />

set terminal pdf {monochrome|color|colour}<br />

{{no}enhanced}<br />

{fname ""} {fsize }<br />

{font "{,}"}<br />

{linewidth } {rounded|butt}<br />

{solid|dashed} {dl }}<br />

{size {unit},{unit}}<br />

The default is to use a different color for each line type. Selecting monochome will use black for all<br />

linetypes, in which case you probably want to select dashed to distinguish line types. Even in in mono<br />

mode you can still use explicit colors for filled areas or linestyles.<br />

where is the name of the default font to use (default Helvetica) and is the font size<br />

(in points, default 12). For help on which fonts are available or how to install new ones, please see the<br />

<strong>documentation</strong> for your local installation of pdflib.<br />

The enhanced option enables enhanced text processing features (subscripts, superscripts and mixed<br />

fonts). See enhanced (p. 186).<br />

The width of all lines in the plot can be increased by the factor specified in linewidth. Similarly<br />

dashlength is a multiplier for the default dash spacing.<br />

rounded sets line caps and line joins to be rounded; butt is the default, butt caps and mitered joins.<br />

The default size for PDF output is 5 inches by 3 inches. The size option changes this to whatever<br />

the user requests. By default the X and Y sizes are taken to be in inches, but other units are possible<br />

(currently only cm).

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

Saved successfully!

Ooh no, something went wrong!