# gnuplot_contour_commands.txt # usage: gnuplot < gnuplot_contour_commands.txt # set term png set size ratio -1 set output 'gnuplot_contour.png' set pm3d unset surface set view map set contour set nokey set cntrparam cubicspline # smooth out the lines set cntrparam levels 50 # sets the num of contour lines set pm3d interpolate 20,20 # interpolate the color set palette model RGB defined ( 0'black', 1'blue', 2'cyan',3'green',4'yellow',5'red',8'purple' ) set xlabel '<--X-->' set ylabel '<--Y-->' set title 'Solution contours' set timestamp set dgrid3d 10, 10, 1 splot 'gnuplot_contour_data.txt' with lines lt 1