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.

148 <strong>gnuplot</strong> 4.3 70 SET-SHOW<br />

70.111 Zero<br />

The zero value is the default threshold for values approaching 0.0.<br />

Syntax:<br />

set zero <br />

show zero<br />

<strong>gnuplot</strong> will not plot a point if its imaginary part is greater in magnitude than the zero threshold.<br />

This threshold is also used in various other parts of <strong>gnuplot</strong> as a (crude) numerical-error threshold.<br />

The default zero value is 1e-8. zero values larger than 1e-3 (the reciprocal of the number of pixels in a<br />

typical bitmap display) should probably be avoided, but it is not unreasonable to set zero to 0.0.<br />

70.112 Zeroaxis<br />

The x axis may be drawn by set xzeroaxis and removed by unset xzeroaxis. Similar commands<br />

behave similarly for the y, x2, y2, and z axes.<br />

Syntax:<br />

set {x|x2|y|y2|z}zeroaxis { {linestyle | ls }<br />

| { linetype | lt }<br />

{ linewidth | lw }}<br />

unset {x|x2|y|y2|z}zeroaxis<br />

show {x|y|z}zeroaxis<br />

By default, these options are off. The selected zero axis is drawn with a line of type <br />

and width (if supported by the terminal driver currently in use), or a user-defined style<br />

.<br />

If no linetype is specified, any zero axes selected will be drawn using the axis linetype (linetype 0).<br />

set zeroaxis is equivalent to set xzeroaxis; set yzeroaxis. Note that the z-axis must be set separately<br />

using set zzeroaxis.<br />

Examples:<br />

To simply have the y=0 axis drawn visibly:<br />

set xzeroaxis<br />

If you want a thick line in a different color or pattern, instead:<br />

set xzeroaxis linetype 3 linewidth 2.5<br />

70.113 Zlabel<br />

This command sets the label for the z axis. Please see set xlabel (p. 141).<br />

70.114 Zmtics<br />

The set zmtics command changes tics on the z axis to months of the year. Please see set xmtics<br />

(p. 142) for details.<br />

70.115 Zrange<br />

The set zrange command sets the range that will be displayed on the z axis. The zrange is used only<br />

by splot and is ignored by plot. Please see set xrange (p. 142) for details.

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

Saved successfully!

Ooh no, something went wrong!