gnuplot documentation
gnuplot documentation
gnuplot documentation
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 167<br />
Use Helvetica, boldface, italics:<br />
set terminal epslatex ’phv,bx,it’<br />
Continue to use the surrounding font in slanted shape:<br />
set terminal epslatex ’,,sl’<br />
Use small capitals:<br />
set terminal epslatex ’,,sc’<br />
By this method, only text fonts are changed. If you also want to change the math fonts you have to use<br />
the "<strong>gnuplot</strong>.cfg" file or the header option, described below.<br />
In standalone mode, the font size is taken from the given font size in the set terminal command. To<br />
be able to use a specified font size, a file "size.clo" has to reside in the LaTeX search path. By<br />
default, 10pt, 11pt, and 12pt are supported. If the package "extsizes" is installed, 8pt, 9pt, 14pt, 17pt,<br />
and 20pt are added.<br />
The header option takes a string as argument. This string is written into the generated LaTeX file.<br />
If using the standalone mode, it is written into the preamble, directly before the \begin{document}<br />
command. In the input mode, it is placed directly after the \begingroup command to ensure that all<br />
settings are local to the plot.<br />
Examples:<br />
Use T1 fontencoding, change the text and math font to Times-Roman as well as the sans-serif font to<br />
Helvetica:<br />
set terminal epslatex standalone header \<br />
"\\usepackage[T1]{fontenc}\n\\usepackage{mathptmx}\n\\usepackage{helvet}"<br />
Use a boldface font in the plot, not influencing the text outside the plot:<br />
set terminal epslatex input header "\\bfseries"<br />
If the file "<strong>gnuplot</strong>.cfg" is found by LaTeX it is input in the preamble the LaTeX document, when using<br />
standalone mode. It can be used for further settings, e.g., changing the document font to Times-Roman,<br />
Helvetica, and Courier, including math fonts (handled by "mathptmx.sty"):<br />
\usepackage{mathptmx}<br />
\usepackage[scaled=0.92]{helvet}<br />
\usepackage{courier}<br />
The file "<strong>gnuplot</strong>.cfg" is loaded before the header information given by the header command. Thus,<br />
you can use header to overwrite some of settings performed using "<strong>gnuplot</strong>.cfg"<br />
77.20 Epson-180dpi<br />
This driver supports a family of Epson printers and derivatives.<br />
epson-180dpi and epson-60dpi are drivers for Epson LQ-style 24-pin printers with resolutions of 180<br />
and 60 dots per inch, respectively.<br />
epson-lx800 is a generic 9-pin driver appropriate for printers like the Epson LX-800, the Star NL-10<br />
and NX-1000, the PROPRINTER, and so forth.<br />
nec-cp6 is generic 24-pin driver that can be used for printers like the NEC CP6 and the Epson LQ-800.<br />
The okidata driver supports the 9-pin OKIDATA 320/321 Standard printers.<br />
The starc driver is for the Star Color Printer.<br />
The tandy-60dpi driver is for the Tandy DMP-130 series of 9-pin, 60-dpi printers.<br />
Only nec-cp6 has any options.<br />
Syntax:<br />
set terminal nec-cp6 {monochrome | colour | draft}<br />
which defaults to monochrome.<br />
With each of these drivers, a binary copy is required on a PC to print. Do not use print — use instead<br />
copy file /b lpt1:.