Enable contour drawing for surfaces. This option is available for splot only.
Syntax:
set contour { base | surface | both }
set nocontour
If no option is provided to set contour, the default is base. The three options specify where to draw the contours: base draws the contours on the grid base where the x/ytics are placed, surface draws the contours on the surfaces themselves, and both draws the contours on both the base and the surface.
See also set cntrparam for the parameters that affect the drawing of contours, and set clabel for control of labelling of the contours.
The surface can be switched off (see set surface) giving a contour-only plot. Though it is possible to set the view to give a full-page plot, good results can be obtained by writing the contour information out to a file, and rereading it as a 2d datafile plot:
set nosurface set contour set term table set out 'filename' splot ... set out # contour info now in filename set term <whatever> plot 'filename'