14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

If the font "CMEX10" is embedded (file "cmex10.pfb") <strong>gnuplot</strong> defines the additional font "CMEX10-<br />

Baseline". It is shifted vertically in order to fit better to the other glyphs (CMEX10 has its baseline at<br />

the top of the symbols).<br />

77.53.4 Postscript prologue<br />

Each PostScript output file includes a %%Prolog section and possibly some additional user-defined<br />

sections containing, for example, character encodings. These sections are copied from a set of PostScript<br />

prologue files which are either compiled in the <strong>gnuplot</strong> executable or stored elsewhere on your computer.<br />

This behaviour and the default directory where these files live are controlled at the time <strong>gnuplot</strong> is built.<br />

However, you can control this either by defining an environment variable GNUPLOT PS DIR or by<br />

using the <strong>gnuplot</strong> command set loadpath. See set loadpath (p. 111).<br />

77.54 Pslatex and pstex<br />

The pslatex driver generates output for further processing by LaTeX, while the pstex driver generates<br />

output for further processing by TeX. pslatex uses \specials understandable by dvips and xdvi. Figures<br />

generated by pstex can be included in any plain-based format (including LaTeX).<br />

Syntax:<br />

set terminal [pslatex | pstex] {default}<br />

set terminal [pslatex | pstex]<br />

{rotate | norotate}<br />

{oldstyle | newstyle}<br />

{auxfile | noauxfile}<br />

{level1 | leveldefault}<br />

{color | colour | monochrome}<br />

{solid | dashed}<br />

{dashlength | dl }<br />

{linewidth | lw }<br />

{rounded | butt}<br />

{palfuncparam {,}}<br />

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

{}<br />

If you see the error message<br />

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

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

The option color enables color, while monochrome prefers black and white drawing elements. Further,<br />

monochrome uses gray palette but it does not change color of objects specified with an explicit<br />

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

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

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

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

Saved successfully!

Ooh no, something went wrong!