#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "pm3d_1" jsdir "." # set output 'pm3d.1.js' set border 4095 front lt black linewidth 1.000 dashtype solid set samples 25, 25 set isosamples 20, 20 set style data lines set title "pm3d demo. Radial sinc function. Default options." 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 cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set pm3d implicit at s set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault splot sin(sqrt(x**2+y**2))/sqrt(x**2+y**2)