# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "contourfill_3" butt dashlength 1.0 # set output 'contourfill.3.svg' set key at screen 1, 0.9 right top vertical Right noreverse enhanced autotitle nobox set label 1 "set palette viridis" at screen 0.82, 0.9, 0 center norotate back nopoint set label 2 "set contourfill ztics\nsplot with contourfill" at screen 0.4, 0.9, 0 center norotate back nopoint set view 60, 30, 0.8, 1 set samples 51, 51 set isosamples 51, 51 set hidden3d back offset 0 trianglepattern 3 undefined 1 altdiagonal bentover set contour surface set contourfill ztics set xyplane relative 0 unset xtics unset ytics set cbtics border in scale 5,2.5 mirror norotate autojustify set cbtics norangelimit 10 set xrange [ -1.00000 : 5.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -3.00000 : 3.00000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zlabel "Z " set zlabel offset character 1, 0, 0 font "" textcolor lt -1 norotate set zrange [ -10.0000 : 10.0000 ] noreverse nowriteback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set lmargin at screen 0 set bmargin at screen 0 set pm3d interpolate 1,1 flush begin noftriangles border linecolor rgb "black" linewidth 0.500 dashtype solid corners2color mean set palette positive nops_allcF maxcolors 0 gamma 1.5 viridis set colorbox user set colorbox vertical origin screen 0.8, 0.3 size screen 0.05, 0.5 front noinvert bdefault f(x,y) = sinc( sqrt(x*x + y*y) ) g(x,y) = x**2 + y**2 * (1 - x)**3 NO_ANIMATION = 1 splot g(x,y) with contourfill notitle