01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

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.

126 gnuplot 4.0 36 SET-SHOW<br />

36.59.55 Postscript<br />

Several options may be set in the postscript driver.<br />

Syntax:<br />

set terminal postscript {} {enhanced | noenhanced}<br />

{color | colour | monochrome}<br />

{blacktext | colortext | colourtext}<br />

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

{linewidth | lw }<br />

{}<br />

{rounded | butt}<br />

{fontfile [add | delete] ""}<br />

{palfuncparam {,}}<br />

{""} {}<br />

where is landscape, portrait, eps or default; enhanced enables enhanced text mode features<br />

(subscripts, superscripts and mixed fonts). See enhanced (p. 127) for more information. Option<br />

color enables color; blacktext forces all text to be written in black even in color mode; solid draws all<br />

plots with solid lines, overriding any dashed patterns; dashlength or dl scales the length of the dashedline<br />

segments by (which is a floating-point number greater than zero); linewidth or lw scales<br />

all linewidths by ; is defaultplex, simplex or duplex ("duplexing" in PostScript<br />

is the ability of the printer to print on both sides of the same page — don’t set this if your printer can’t<br />

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

joins; "" is the name of a valid PostScript font; and is the size of the font in<br />

PostScript points. In addition to the standard postscript fonts, an oblique version of the Symbol font,<br />

useful for mathematics, is defined. It is called "Symbol-Oblique".<br />

default mode sets all options to their defaults: landscape, monochrome, dashed, dl 1.0, lw 1.0,<br />

defaultplex, noenhanced, "Helvetica" and 14pt. Default size of a PostScript plot is 10 inches wide<br />

and 7 inches high.<br />

palfuncparam is only available if compiled with pm3d support. It controls how set palette functions<br />

are encoded as gradients in the output. Analytic color component functions (set via set palette<br />

functions) are encoded as linear interpolated gradients in the postscript output: The color component<br />

functions are sampled at points and all points are removed from this gradient which can be<br />

removed without changing the resulting colors by more than . For almost every useful<br />

palette you may savely leave the defaults of =2000 and =0.003 untouched.<br />

eps mode generates EPS (Encapsulated PostScript) output, which is just regular PostScript with some<br />

additional lines that allow the file to be imported into a variety of other applications. (The added lines<br />

are PostScript comment lines, so the file may still be printed by itself.) To get EPS output, use the eps<br />

mode and make only one plot per file. In eps mode the whole plot, including the fonts, is reduced to<br />

half of the default size.<br />

Fonts listed by fontfile or fontfile add encapsulate the font definitions of the listed font from a postscript<br />

Type 1 or TrueType font file directly into the gnuplot output postscript file. Thus, the enclosed font<br />

can be used in labels, titles, etc. See the section postscript fontfile (p. 128) for more details. With<br />

fontfile delete a fontfile is deleted from the list of embedded files.<br />

Examples:<br />

set terminal postscript default # old postscript<br />

set terminal postscript enhanced # old enhpost<br />

set terminal postscript landscape 22 # old psbig<br />

set terminal postscript eps 14 # old epsf1<br />

set terminal postscript eps 22 # old epsf2<br />

set size 0.7,1.4; set term post portrait color "Times-Roman" 14<br />

set term post "VAGRoundedBT_Regular" 14 fontfile "bvrr8a.pfa"<br />

Linewidths and pointsizes may be changed with set style line.<br />

The postscript driver supports about 70 distinct pointtypes, selectable through the pointtype option<br />

on plot and set style line.

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

Saved successfully!

Ooh no, something went wrong!