#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "pm3d_38" jsdir "." # set output 'pm3d.38.js' set samples 40, 40 set isosamples 40, 40 set xyplane relative 0 set title "pm3d explicit mode --- coloring according to the 4th parameter of 'using'" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault sinc(u,v) = sin(sqrt(u**2+v**2)) /sqrt(u**2+v**2) ## Last datafile plotted: "binary2" splot 'binary2' binary u 1:2:3:($2+($1+$2)/10) w pm3d, 1+sinc(x*4, y*4) w l