14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

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 163<br />

120x80 AutoCad units, which can be changed by set size. dxf uses seven colors (white, red, yellow,<br />

green, cyan, blue and magenta), which can be changed only by modifying the source file. If a black-andwhite<br />

plotting device is used, the colors are mapped to differing line thicknesses. See the description of<br />

the AutoCad print/plot command.<br />

77.15 Dxy800a<br />

This terminal driver supports the Roland DXY800A plotter. It has no options.<br />

77.16 Eepic<br />

The eepic terminal driver supports the extended LaTeX picture environment. It is an alternative to the<br />

latex driver.<br />

The output of this terminal is intended for use with the "eepic.sty" macro package for LaTeX. To use it,<br />

you need "eepic.sty", "epic.sty" and a printer driver that supports the "tpic" \specials. If your printer<br />

driver doesn’t support those \specials, "eepicemu.sty" will enable you to use some of them. dvips and<br />

dvipdfm do support the "tpic" \specials.<br />

Syntax:<br />

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

Options: You can give options in any order you wish. ’color’ causes <strong>gnuplot</strong> to produce \color{...}<br />

commands so that the graphs are colored. Using this option, you must include \usepackage{color}<br />

in the preambel of your latex document. ’dashed’ will allow dashed line types; without this option,<br />

only solid lines with varying thickness will be used. ’dashed’ and ’color’ are mutually exclusive; if<br />

’color’ is specified, then ’dashed’ will be ignored. ’rotate’ will enable true rotated text (by 90 degrees).<br />

Otherwise, rotated text will be typeset with letters stacked above each other. If you use this option<br />

you must include \usepackage{graphicx} in the preamble. ’small’ will use \scriptsize symbols as point<br />

markers (Probably does not work with TeX, only LaTeX2e). Default is to use the default math size.<br />

’tiny’ uses \scriptscriptstyle symbols. ’default’ resets all options to their defaults = no color, no dashed<br />

lines, pseudo-rotated (stacked) text, large point symbols. is a number which specifies the<br />

font size inside the picture environment; the unit is pt (points), i.e., 10 pt equals approx. 3.5 mm. If<br />

fontsize is not specified, then all text inside the picture will be set in \footnotesize.<br />

Notes: Remember to escape the # character (or other chars meaningful to (La-)TeX) by \\ (2 backslashes).<br />

It seems that dashed lines become solid lines when the vertices of a plot are too close. (I do<br />

not know if that is a general problem with the tpic specials, or if it is caused by a bug in eepic.sty or<br />

dvips/dvipdfm.) The default size of an eepic plot is 5x3 inches, which can be scaled by ’set size a,b’.<br />

Points, among other things, are drawn using the LaTeX commands "\Diamond", "\Box", etc. These<br />

commands no longer belong to the LaTeX2e core; they are included in the latexsym package, which is<br />

part of the base distribution and thus part of any LaTeX implementation. Please do not forget to use<br />

this package. Instead of latexsym, you can also include the amssymb package. All drivers for LaTeX<br />

offer a special way of controlling text positioning: If any text string begins with ’{’, you also need to<br />

include a ’}’ at the end of the text, and the whole text will be centered both horizontally and vertically.<br />

If the text string begins with ’[’, you need to follow this with a position specification (up to two out of<br />

t,b,l,r), ’]{’, the text itself, and finally ’}’. The text itself may be anything LaTeX can typeset as an<br />

LR-box. ’\rule{}{}’s may help for best positioning.<br />

Examples: set term eepic<br />

output graphs as eepic macros inside a picture environment;<br />

\input the resulting file in your LaTeX document.<br />

set term eepic color tiny rotate 8<br />

eepic macros with \color macros, \scripscriptsize point markers,<br />

true rotated text, and all text set with 8pt.<br />

About label positioning: Use <strong>gnuplot</strong> defaults (mostly sensible, but sometimes not really best):<br />

set title ’\LaTeX\ -- $ \gamma $’

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

Saved successfully!

Ooh no, something went wrong!