01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

80 gnuplot 4.0 36 SET-SHOW<br />

minor tics (2, 3, ..., 8, 9 between 1 and 10, for example) are obtained by setting to 10, even<br />

though there are but nine sub-intervals.<br />

Minor tics can be used only with uniformly spaced major tics. Since major tics can be placed arbitrarily<br />

by set {x|x2|y|y2|z}tics, minor tics cannot be used if major tics are explicitly set.<br />

By default, minor tics are off for linear axes and on for logarithmic axes. They inherit the settings for<br />

axis|border and {no}mirror specified for the major tics. Please see set xtics (p. 149) for information<br />

about these.<br />

36.40 My2tics<br />

Minor tic marks along the y2 (right-hand) axis are controlled by set my2tics. Please see set mxtics<br />

(p. 79).<br />

36.41 Mytics<br />

Minor tic marks along the y axis are controlled by set mytics. Please see set mxtics (p. 79).<br />

36.42 Mztics<br />

Minor tic marks along the z axis are controlled by set mztics. Please see set mxtics (p. 79).<br />

36.43 Offsets<br />

Offsets provide a mechanism to put a boundary around the data inside of an autoscaled graph.<br />

Syntax:<br />

set offsets , , , <br />

unset offsets<br />

show offsets<br />

Each offset may be a constant or an expression. Each defaults to 0. Left and right offsets are given in<br />

units of the x axis, top and bottom offsets in units of the y axis. A positive offset expands the graph in<br />

the specified direction, e.g., a positive bottom offset makes ymin more negative. Negative offsets, while<br />

permitted, can have unexpected interactions with autoscaling and clipping.<br />

Offsets are ignored in splots.<br />

Example:<br />

set offsets 0, 0, 2, 2<br />

plot sin(x)<br />

This graph of sin(x) will have a y range [-3:3] because the function will be autoscaled to [-1:1] and the<br />

vertical offsets are each two.<br />

36.44 Origin<br />

The set origin command is used to specify the origin of a plotting surface (i.e., the graph and its<br />

margins) on the screen. The coordinates are given in the screen coordinate system (see coordinates<br />

(p. 18) for information about this system).<br />

Syntax:<br />

set origin ,

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

Saved successfully!

Ooh no, something went wrong!