concept contour line in category gnuplot

This is an excerpt from Manning's book Gnuplot in Action.
You can add contour lines to a plot generated using splot. Contour lines can be a great help when it comes to associating specific z values with surface plots. They can also be used by themselves to make contour plots.
Use the set contour option to enable contour lines:
Figure C.7. Adding contour lines at the base and on the surface using set contour both and set cntrparam levels incremental -0.3,0.1,0.4. The function is the same as in figure C.1.
![]()
To influence the frequency and spacing of contour lines, use set cntrparam levels. The different ways to do this are reminiscent of the options used to place tic marks along the axes (see section 8.3.4):
set cntrparam levels [ auto [{int:n}] | discrete {flt:z0} [, {flt:z1} [, ...]] | incremental {flt:start}, {flt:inc} [, {flt:end}] ]When using auto, approximately five uniformly spaced contour lines are drawn. You can pass an integer argument to auto to change the number of contour lines that are generated. All these settings are approximate, because gnuplot attempts to place contour lines at round numbers.