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.

58 gnuplot 4.0 36 SET-SHOW<br />

36.8 Clabel<br />

gnuplot will vary the linetype used for each contour level when clabel is set. When this option on (the<br />

default), a legend labels each linestyle with the z level it represents. It is not possible at present to<br />

separate the contour labels from the surface key.<br />

Syntax:<br />

set clabel {’’}<br />

unset clabel<br />

show clabel<br />

The default for the format string is %8.3g, which gives three decimal places. This may produce poor<br />

label alignment if the key is altered from its default configuration.<br />

The first contour linetype, or only contour linetype when clabel is off, is the surface linetype +1; contour<br />

points are the same style as surface points.<br />

See also set contour (p. 61).<br />

36.9 Clip<br />

gnuplot can clip data points and lines that are near the boundaries of a graph.<br />

Syntax:<br />

set clip <br />

unset clip <br />

show clip<br />

Three clip types for points and lines are supported by gnuplot: points, one, and two. One, two, or all<br />

three clip types may be active for a single graph. Note that clipping of color filled quadrangles drawn by<br />

pm3d maps and surfaces is not controlled by this command, but by set pm3d clip1in and set pm3d<br />

clip4in.<br />

The points clip type forces gnuplot to clip (actually, not plot at all) data points that fall within but<br />

too close to the boundaries. This is done so that large symbols used for points will not extend outside<br />

the boundary lines. Without clipping points near the boundaries, the plot may look bad. Adjusting the<br />

x and y ranges may give similar results.<br />

Setting the one clip type causes gnuplot to draw a line segment which has only one of its two endpoints<br />

within the graph. Only the in-range portion of the line is drawn. The alternative is to not draw any<br />

portion of the line segment.<br />

Some lines may have both endpoints out of range, but pass through the graph. Setting the two clip-type<br />

allows the visible portion of these lines to be drawn.<br />

In no case is a line drawn outside the graph.<br />

The defaults are noclip points, clip one, and noclip two.<br />

To check the state of all forms of clipping, use<br />

show clip<br />

For backward compatibility with older versions, the following forms are also permitted:<br />

set clip<br />

unset clip<br />

set clip is synonymous with set clip points; unset clip turns off all three types of clipping.<br />

36.10 Cntrparam<br />

set cntrparam controls the generation of contours and their smoothness for a contour plot.<br />

contour displays current settings of cntrparam as well as contour.<br />

Syntax:<br />

show

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

Saved successfully!

Ooh no, something went wrong!