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.

36 SET-SHOW gnuplot 4.0 153<br />

set zero <br />

show zero<br />

gnuplot 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 gnuplot 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 />

36.106 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, and y2 axes.<br />

Syntax:<br />

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

| { linetype | lt }<br />

{ linewidth | lw }}<br />

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

show {x|y|}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. set nozeroaxis is equivalent to unset<br />

xzeroaxis; unset yzeroaxis.<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 />

36.107 Zlabel<br />

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

36.108 Zmtics<br />

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

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

36.109 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. 148) for details.<br />

36.110 Ztics<br />

The set ztics command controls major (labelled) tics on the z axis. Please see set xtics (p. 149) for<br />

details.

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

Saved successfully!

Ooh no, something went wrong!