The output of this terminal is intended for use with the "eepic.sty" macro
package for LaTeX. To use it, you need "eepic.sty", "epic.sty" and a
DVI driver that supports the "tpic" specials. If your driver doesn't
support those
specials, "eepicemu.sty" will enable you to use some
of them.
dvips and dvipdfm do support the "tpic"
specials, pdflatex does not.
Syntax:
set terminal eepic {default} {color|monochrome|dashed} {rotate} {size XX,YY} {small|tiny|<fontsize>}
color causes gnuplot to produce color{...} commands so that the graphs are
colored. Using this option, you must include
usepackage{color} in the preamble
of your latex document.
dashed will allow dashed line types; without this option, only solid lines with varying thickness will be used. dashed and color are mutually exclusive; if color is specified, then dashed will be ignored.
rotate will enable true rotated text (by 90 degrees). Otherwise, rotated text
will be typeset with letters stacked above each other. If you use this option
you must include usepackage{graphicx} in the preamble.
small will use scriptsize symbols as point markers. Default is to use the default math size. tiny uses
scriptscriptstyle symbols.
The default size of an eepic plot is 5x3 inches. You can change this using the size terminal option.
fontsize
is a number which specifies the font size inside the picture
environment; the unit is pt (points), i.e., 10 pt equals approx. 3.5 mm.
If fontsize is not specified, then all text inside the picture will be set
in
footnotesize.
default resets all options to their defaults = no color, no dashed lines, pseudo-rotated (stacked) text, large point symbols.
Notes:
Remember to escape the # character (or other chars meaningful to (La-)TeX)
by (2 backslashes).
It seems that dashed lines become solid lines when the vertices of a plot are too close. (I do not know if that is a general problem with the tpic specials, or if it is caused by a bug in eepic.sty or dvips/dvipdfm.)
Points, among other things, are drawn using the LaTeX commands "Diamond",
"
Box", etc. These commands no longer belong to the LaTeX2e core; they are
included in the latexsym package, which is part of the base distribution and
thus part of any LaTeX implementation. Please do not forget to use this package.
Instead of latexsym, you can also include the amssymb package.
All drivers for LaTeX offer a special way of controlling text positioning:
If any text string begins with '{', you also need to include a '}' at the
end of the text, and the whole text will be centered both horizontally and
vertically. If the text string begins with '[', you need to follow this with
a position specification (up to two out of t,b,l,r), ']{', the text itself,
and finally '}'. The text itself may be anything LaTeX can typeset as an
LR-box. 'rule{}{}'s may help for best positioning.
Examples:
set term eepicoutput graphs as eepic macros inside a picture environment;
set term eepic color tiny rotate 8eepic macros with
About label positioning: Use gnuplot defaults (mostly sensible, but sometimes not really best):
set title '\LaTeX\ -- $ \gamma $'Force centering both horizontally and vertically:
set label '{\LaTeX\ -- $ \gamma $}' at 0,0Specify own positioning (top here):
set xlabel '[t]{\LaTeX\ -- $ \gamma $}'The other label – account for long ticlabels:
set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'