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.
70 SET-SHOW <strong>gnuplot</strong> 4.3 91<br />
set boxwidth -2<br />
The same effect can be achieved with the using keyword in plot:<br />
plot ’file’ using 1:2:3:4:(-2)<br />
To set the box width to half of the automatic size use<br />
set boxwidth 0.5 relative<br />
To set the box width to an absolute value of 2 use<br />
set boxwidth 2 absolute<br />
70.8 Clabel<br />
<strong>gnuplot</strong> 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. 94).<br />
70.9 Clip<br />
<strong>gnuplot</strong> 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 <strong>gnuplot</strong>: 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 <strong>gnuplot</strong> 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 <strong>gnuplot</strong> 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