Pslatex and pstex

The pslatex and pstex drivers generate output for further processing by LaTeX and TeX, respectively. Figures generated by pstex can be included in any plain-based format (including LaTeX).

Syntax:

     set terminal pslatex | |pstex {<color>} {<dashed>} {<rotate>}
                                   {auxfile} {<font_size>}

<color> is either color or monochrome. <rotate> is either rotate or norotate and determines if the y-axis label is rotated. <font_size> is used to scale the font from its usual size.

If auxfile is specified, it directs the driver to put the PostScript commands into an auxiliary file instead of directly into the LaTeX file. This is useful if your pictures are large enough that dvips cannot handle them. The name of the auxiliary PostScript file is derived from the name of the TeX file given on the set output command; it is determined by replacing the trailing .tex (actually just the final extent in the file name — and the option will be turned off if there is no extent) with .ps in the output file name. Remember to close the file before leaving gnuplot.

Examples:

     set term pslatex monochrome dashed rotate       # set to defaults
To write the PostScript commands into the file "foo.ps":
     set term pslatex auxfile
     set output "foo.tex"; plot ...: set output