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.

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

If you see the error message<br />

"Can’t find PostScript prologue file ... "<br />

{palfuncparam {,}}<br />

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

{blacktext | colortext | colourtext}<br />

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

Please see and follow the instructions in postscript prologue (p. 189).<br />

landscape and portrait choose the plot orientation. eps mode generates EPS (Encapsulated<br />

PostScript) output, which is just regular PostScript with some additional lines that allow the file to<br />

be imported into a variety of other applications. (The added lines are PostScript comment lines, so the<br />

file may still be printed by itself.) To get EPS output, use the eps mode and make only one plot per<br />

file. In eps mode the whole plot, including the fonts, is reduced to half of the default size.<br />

enhanced enables enhanced text mode features (subscripts, superscripts and mixed fonts). See enhanced<br />

(p. 186) for more information. blacktext forces all text to be written in black even in color<br />

mode;<br />

Duplexing in PostScript is the ability of the printer to print on both sides of the same sheet of paper.<br />

With defaultplex, the default setting of the printer is used; with simplex only one side is printed;<br />

duplex prints on both sides (ignored if your printer can’t do it).<br />

"" 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 sets all options to their defaults: landscape, monochrome, dashed, dl 1.0, lw 1.0, defaultplex,<br />

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

7 inches high. The option color enables color, while monochrome prefers black and white drawing<br />

elements. Further, monochrome uses gray palette but it does not change color of objects specified<br />

with an explicit colorspec. solid draws all plots with solid lines, overriding any dashed patterns. dashlength<br />

or dl scales the length of the dashed-line segments by , which is a floating-point number<br />

greater than zero. linewidth or lw scales all linewidths by .<br />

By default the generated PostScript code uses language features that were introduced in PostScript Level<br />

2, notably filters and pattern-fill of irregular objects such as filledcurves. PostScript Level 2 features are<br />

conditionally protected so that PostScript Level 1 interpreters do not issue errors but, rather, display<br />

a message or a PostScript Level 1 approximation. The level1 option substitutes PostScript Level 1<br />

approximations of these features and uses no PostScript Level 2 code. This may be required by some<br />

old printers and old versions of Adobe Illustrator. The flag level1 can be toggled later by editing a<br />

single line in the PostScript output file to force PostScript Level 1 interpretation. In the case of files<br />

containing level 2 code, the above features will not appear or will be replaced by a note when this flag is<br />

set or when the interpreting program does not indicate that it understands level 2 PostScript or higher.<br />

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

palfuncparam controls how set palette functions are encoded as gradients in the output. Analytic<br />

color component functions (set via set palette functions) are encoded as linear interpolated gradients<br />

in the postscript output: The color component functions are sampled at points and all points<br />

are removed from this gradient which can be removed without changing the resulting colors by more than<br />

. For almost every useful palette you may savely leave the defaults of =2000<br />

and =0.003 untouched.<br />

The default size for postscript output is 10 inches x 7 inches. The default for eps output is 5 x 3.5 inches.<br />

The size option changes this to whatever the user requests. By default the X and Y sizes are taken to<br />

be in inches, but other units are possibly (currently only cm). The BoundingBox of the plot is correctly<br />

adjusted to contain the resized image. Screen coordinates always run from 0.0 to 1.0 along the full<br />

length of the plot edges as specified by the size option. NB: this is a change from the previously<br />

recommended method of using the set size command prior to setting the terminal type.<br />

The old method left the BoundingBox unchanged and screen coordinates did not correspond to the<br />

actual limits of the plot.

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

Saved successfully!

Ooh no, something went wrong!