#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "pm3d_4" butt dashlength 1.0 # set output 'pm3d.4.svg' set border 4095 front lt black linewidth 1.000 dashtype solid set samples 25, 25 set isosamples 20, 20 unset surface set style data lines set xyplane relative 0 set title "unset surface; set pm3d at st (surface and top)" set xlabel "x" set xrange [ -15.0000 : 15.0000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set ylabel "y" set yrange [ -15.0000 : 15.0000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ -0.250000 : 1.00000 ] noreverse nowriteback set cblabel "colour gradient" set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set pm3d implicit at st set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 splot sin(sqrt(x**2+y**2))/sqrt(x**2+y**2)