next up previous contents index
Next: Emf Up: Terminal Previous: Dxy800a   Contents   Index


Eepic

The eepic terminal driver supports the extended LaTeX picture environment. It is an alternative to the latex driver.

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 printer driver that supports the "tpic" 3#3specials. If your printer driver doesn't support those 3#3specials, "eepicemu.sty" will enable you to use some of them. dvips and dvipdfm do support the "tpic" 3#3specials.

Syntax:

  set terminal eepic {color, dashed, rotate, small, tiny, default, <fontsize>}

Options: You can give options in any order you wish. 'color' causes gnuplot to produce 3#3color{...} commands so that the graphs are colored. Using this option, you must include 3#3usepackage{color} in the preambel 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 3#3usepackage{graphicx} in the preamble. 'small' will use 3#3scriptsize symbols as point markers (Probably does not work with TeX, only LaTeX2e). Default is to use the default math size. 'tiny' uses 3#3scriptscriptstyle symbols. 'default' resets all options to their defaults = no color, no dashed lines, pseudo-rotated (stacked) text, large point symbols. 5#5fontsize6#6 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 3#3footnotesize.

Notes: Remember to escape the # character (or other chars meaningful to (La-)TeX) by 3#33#3 (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.) The default size of an eepic plot is 5x3 inches, which can be scaled by 'set size a,b'. Points, among other things, are drawn using the LaTeX commands "3#3Diamond", "3#3Box", 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. '3#3rule{}{}'s may help for best positioning.

Examples: set term eepic

 output graphs as eepic macros inside a picture environment;
 \input the resulting file in your LaTeX document.

set term eepic color tiny rotate 8
 eepic macros with \color macros, \scripscriptsize point markers,
 true rotated text, and all text set with 8pt.

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,0

Specify own positioning (top here):
      set xlabel '[t]{\LaTeX\ -- $ \gamma $}'

The other label - account for long ticlabels:
      set ylabel '[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}'


next up previous contents index
Next: Emf Up: Terminal Previous: Dxy800a   Contents   Index
Ethan Merritt 2007-03-03