Back to demo index

gnuplot demo script: discrete.dem

autogenerated by webify.pl on Tue Apr 14 15:20:09 2009
gnuplot version gnuplot 4.3 patchlevel CVS-12Apr2009
#
# $Id: discrete.dem,v 1.4 2003/10/28 05:35:54 sfeam Exp $
#
#
set contour
set title "Demo of specifying discrete contour levels  -  default contours"
splot x*y

Click here for minimal script to generate this plot




#set discrete levels
set cntrparam levels discrete 0, 15, 75
set title "3 discrete contours at 0 15 & 75"
replot

Click here for minimal script to generate this plot




#set incremental levels
set cntrp level incr -20, 5, 9
set title "9 incremental contours starting at -20, stepping by 5"
replot

Click here for minimal script to generate this plot




#restore defaults
set title ""
unset contour
set cntrparam levels auto 5