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 93<br />
If the command set cntrparam is given without any arguments specified, the defaults are used: linear,<br />
5 points, order 4, 5 auto levels.<br />
Examples:<br />
set cntrparam bspline<br />
set cntrparam points 7<br />
set cntrparam order 10<br />
To select levels automatically, 5 if the level increment criteria are met:<br />
set cntrparam levels auto 5<br />
To specify discrete levels at .1, .37, and .9:<br />
set cntrparam levels discrete .1,1/exp(1),.9<br />
To specify levels from 0 to 4 with increment 1:<br />
set cntrparam levels incremental 0,1,4<br />
To set the number of levels to 10 (changing an incremental end or possibly the number of auto levels):<br />
set cntrparam levels 10<br />
To set the start and increment while retaining the number of levels:<br />
set cntrparam levels incremental 100,50<br />
See also set contour (p. 94) for control of where the contours are drawn, and set clabel (p. 91) for<br />
control of the format of the contour labels and linetypes.<br />
See also<br />
and<br />
contours demo (contours.dem)<br />
contours with user defined levels demo (discrete.dem).<br />
70.11 Color box<br />
The color scheme, i.e. the gradient of the smooth color with min z and max z values of pm3d’s palette,<br />
is drawn in a color box unless unset colorbox.<br />
set colorbox<br />
set colorbox {<br />
{ vertical | horizontal }<br />
{ default | user }<br />
{ origin x, y }<br />
{ size x, y }<br />
{ noborder | bdefault | border [line style] }<br />
}<br />
show colorbox<br />
unset colorbox<br />
Colorbox position can be default or user. If the latter is specified the values as given with the origin<br />
and size subcommands are used.<br />
vertical and horizontal switches the orientation of the color gradient.<br />
origin x, y and size x, y are used only in combination with the user option. The x and y values are<br />
interpreted as screen coordinates by default, and this is the only legal option for 3D plots. 2D plots,<br />
including splot with set view map, allow any coordinate system to be specified. Try for example:<br />
set colorbox horiz user origin .1,.02 size .8,.04<br />
which will draw a horizontal gradient somewhere at the bottom of the graph.<br />
border turns the border on (this is the default). noborder turns the border off. If an positive integer<br />
argument is given after border, it is used as a line style tag which is used for drawing the border, e.g.: