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.

176 <strong>gnuplot</strong> 4.3 77 TERMINAL<br />

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

this package. Other point types use symbols from the amssymb package.<br />

The default size for the plot is 5 inches by 3 inches. The size option changes this to whatever the user<br />

requests. By default the X and Y sizes are taken to be in inches, but other units are possible (currently<br />

only cm).<br />

Examples: About label positioning: Use <strong>gnuplot</strong> 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 />

77.40 Linux<br />

The linux driver has no additional options to specify. It looks at the environment variable GSVG-<br />

AMODE for the default mode; if not set, it uses 1024x768x256 as default mode or, if that is not<br />

possible, 640x480x16 (standard VGA).<br />

77.41 Macintosh<br />

Several options may be set in the ’macintosh’ driver.<br />

Syntax:<br />

set terminal macintosh {singlewin | multiwin} {vertical | novertical}<br />

{size , | default}<br />

’singlewin’ limits the output to a single window and is useful for animations. ’multiwin’ allows multiple<br />

windows. ’vertical’ is only valid under the gx option. With this option, rotated text<br />

be drawn vertically. novertical turns this option off.<br />

size , overrides the graph size set in the preferences<br />

dialog until it is cleared with either ’set term mac size default’<br />

or ’set term mac default’.<br />

’set term mac size default’ sets the window size settings to those set in<br />

the preferences dialog.<br />

’set term mac default’ sets all options to their default values.<br />

Default values: nogx, multiwin, novertical.<br />

If you generate graphs under the multiwin option and then switch to singlewin,<br />

the next plot command will cause one more window to be created. This new<br />

window will be reused as long as singlewin is in effect. If you switch back<br />

to multiwin, generate some graphs, and then switch to singlewin again, the<br />

orginal ’singlewin’ window will be resused if it is still open. Otherwise<br />

a new ’singlewin’ window will be created. The ’singlewin’ window is not numbered.

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

Saved successfully!

Ooh no, something went wrong!