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.

36 SET-SHOW gnuplot 4.0 121<br />

Changing font sizes in TeX has no effect on the size of mathematics, and there is no foolproof way<br />

to make such a change, except by globally setting a magnification factor. This is the purpose of the<br />

magnification option. It must be followed by a scaling factor. All text (NOT the graphs) will be<br />

scaled by this factor. Use this if you have math that you want at some size other than the default 10pt.<br />

Unfortunately, all math will be the same size, but see the discussion below on editing the MP output.<br />

mag will also work under notex but there seems no point in using it as the font size option (below)<br />

works as well.<br />

The option psnfss uses postscript fonts in combination with LaTeX. Since this option only makes sense,<br />

if LaTeX is being used, the latex option is selected automatically. This option includes the following<br />

packages for LaTeX: inputenc(latin1), fontenc(T1), mathptmx, helvet(scaled=09.2), courier, latexsym<br />

and textcomp.<br />

The option psnfss-version7 uses also postscript fonts in LaTeX (option latex is also automatically<br />

selected), but uses the following packages with LaTeX: inputenc(latin1), fontenc(T1), times, mathptmx,<br />

helvet and courier.<br />

The option nopsnfss is the default and uses the standard font (cmr10 if not otherwise specified).<br />

The option prologues takes a value as an additional argument and adds the line prologues:=<br />

to the metapost file. If a value of 2 is specified metapost uses postscript fonts to generate the eps-file,<br />

so that the result can be viewed using e.g. ghostscript. Normally the output of metapost uses TeX fonts<br />

and therefore has to be included in a (La)TeX file before you can look at it.<br />

The option noprologues is the default. No additional line specifying the prologue will be added.<br />

The option a4paper adds a [a4paper] to the documentclass. Normally letter paper is used (default).<br />

Since this option is only used in case of LaTeX, the latex option is selected automatically.<br />

The option amstex automatically selects the latex option and includes the following LaTeX packages:<br />

amsfonts, amsmath(intlimits). By default these packages are not included.<br />

A name in quotes selects the font that will be used when no explicit font is given in a set label or<br />

set title. A name recognized by TeX (a TFM file exists) must be used. The default is "cmr10" unless<br />

notex is selected, then it is "pcrr8r" (Courier). Even under notex, a TFM file is needed by Metapost.<br />

The file pcrr8r.tfm is the name given to Courier in LaTeX’s psnfss package. If you change the font<br />

from the notex default, choose a font that matches the ASCII encoding at least in the range 32-126.<br />

cmtt10 almost works, but it has a nonblank character in position 32 (space).<br />

The size can be any number between 5.0 and 99.99. If it is omitted, 10.0 is used. It is advisable to use<br />

magstep sizes: 10 times an integer or half-integer power of 1.2, rounded to two decimals, because those<br />

are the most available sizes of fonts in TeX systems.<br />

All the options are optional. If font information is given, it must be at the end, with size (if present)<br />

last. The size is needed to select a size for the font, even if the font name includes size information. For<br />

example, set term mp "cmtt12" selects cmtt12 shrunk to the default size 10. This is probably not<br />

what you want or you would have used cmtt10.<br />

The following common ascii characters need special treatment in TeX:<br />

$, &, #, %, _; |, ; ^, ~, \, {, and }<br />

The five characters $, #, &, , and % can simply be escaped, e.g., \$. The three characters , and<br />

| can be wrapped in math mode, e.g., $

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

Saved successfully!

Ooh no, something went wrong!