01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

134 gnuplot 4.0 36 SET-SHOW<br />

plot coordinates can be obtained calling "gnuplot axisranges". If the "interactive" option is specified,<br />

mouse clicking on a line segment will print the coordinates of its midpoint to stdout. Advanced actions<br />

can happen instead if the user supplies a procedure named "user gnuplot coordinates", which takes the<br />

following arguments: "win id x1s y1s x2s y2s x1e y1e x2e y2e x1m y1m x2m y2m", the name of the<br />

canvas and the id of the line segment followed by the coordinates of its start and end point in the two<br />

possible axis ranges; the coordinates of the midpoint are only filled for logarithmic axes.<br />

The current version of tkcanvas supports neither multiplot nor replot.<br />

36.59.70 Tpic<br />

The tpic terminal driver supports the LaTeX picture environment with tpic \specials. It is an alternative<br />

to the latex and eepic terminal drivers. Options are the point size, line width, and dot-dash interval.<br />

Syntax:<br />

set terminal tpic <br />

where pointsize and linewidth are integers in milli-inches and interval is a float in inches. If a<br />

non-positive value is specified, the default is chosen: pointsize = 40, linewidth = 6, interval = 0.1.<br />

All drivers for LaTeX offer a special way of controlling text positioning: If any text string begins with<br />

’{’, you also need to include a ’}’ at the end of the text, and the whole text will be centered both<br />

horizontally and vertically by LaTeX. — If the text string begins with ’[’, you need to continue it with:<br />

a position specification (up to two out of t,b,l,r), ’]{’, the text itself, and finally, ’}’. The text itself may<br />

be anything LaTeX can typeset as an LR-box. \rule{}{}’s may help for best positioning.<br />

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

best):<br />

set title ’\LaTeX\ -- $ \gamma $’<br />

Force centering both horizontally and vertically:<br />

set label ’{\LaTeX\ -- $ \gamma $}’ at 0,0<br />

Specify own positioning (top here):<br />

set xlabel ’[t]{\LaTeX\ -- $ \gamma $}’<br />

The other label – account for long ticlabels:<br />

set ylabel ’[r]{\LaTeX\ -- $ \gamma $\rule{7mm}{0pt}}’<br />

36.59.71 Unixpc<br />

The unixpc terminal driver supports AT&T 3b1 and AT&T 7300 Unix PC. It has no options.<br />

36.59.72 Unixplot<br />

The unixplot terminal driver generates output in the Unix "plot" graphics language. It has no options.<br />

This terminal cannot be compiled if the GNU version of plot is to be used; in that case, use the gnugraph<br />

terminal instead.<br />

36.59.73 Atari ST (via VDI)<br />

The vdi terminal is the same as the atari terminal, except that it sends output to the screen via the<br />

VDI and not into AES-Windows.<br />

The vdi terminal has options to set the character size and the screen colors.<br />

Syntax:<br />

set terminal vdi {} { ... }

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

Saved successfully!

Ooh no, something went wrong!