gnuplot documentation
gnuplot documentation
gnuplot documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
116 <strong>gnuplot</strong> 4.3 70 SET-SHOW<br />
70.40 Mxtics<br />
Minor tic marks along the x axis are controlled by set mxtics. They can be turned off with unset<br />
mxtics. Similar commands control minor tics along the other axes.<br />
Syntax:<br />
set mxtics { | default}<br />
unset mxtics<br />
show mxtics<br />
The same syntax applies to mytics, mztics, mx2tics, my2tics and mcbtics.<br />
is the number of sub-intervals (NOT the number of minor tics) between major tics (the default<br />
for a linear axis is either two or five depending on the major tics, so there are one or four minor tics<br />
between major tics). Selecting default will return the number of minor ticks to its default value.<br />
If the axis is logarithmic, the number of sub-intervals will be set to a reasonable number by default<br />
(based upon the length of a decade). This will be overridden if is given. However the usual<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 />
To set minor tics at arbitrary positions, use the ("" , ...)<br />
{x|x2|y|y2|z}tics with empty and set to 1.<br />
form of set<br />
The set m{x|x2|y|y2|z}tics commands work only when there are uniformly spaced major tics. If all<br />
major tics were placed explicitly by set {x|x2|y|y2|z}tics, then minor tic commands are ignored.<br />
Implicit major tics and explicit minor tics can be combined using set {x|x2|y|y2|z}tics and set<br />
{x|x2|y|y2|z}tics add.<br />
Examples:<br />
set xtics 0, 5, 10<br />
set xtics add (7.5)<br />
set mxtics 5<br />
Major tics at 0,5,7.5,10, minor tics at 1,2,3,4,6,7,8,9<br />
set logscale y<br />
set format y ""<br />
set ytics 1e-6, 10, 1<br />
set ytics add ("1" 1, ".1" 0.1, ".01" 0.01, "10^-3" 0.001, \<br />
"10^-4" 0.0001)<br />
set mytics 10<br />
Major tics with special formatting, minor tics at log positions<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. 143) for information<br />
about these.<br />
70.41 My2tics<br />
Minor tic marks along the y2 (right-hand) axis are controlled by set my2tics. Please see set mxtics<br />
(p. 116).<br />
70.42 Mytics<br />
Minor tic marks along the y axis are controlled by set mytics. Please see set mxtics (p. 116).<br />
70.43 Mztics<br />
Minor tic marks along the z axis are controlled by set mztics. Please see set mxtics (p. 116).