#!/usr/local/bin/gnuplot -persist # set terminal pngcairo background "#ffffff" enhanced font "arial,9" fontscale 1.0 size 512, 384 # set output 'transparent_solids.1.png' unset border set style fill transparent solid 0.30 border set dummy u, v unset key set object 1 rect from screen 0, 0 to screen 1, 1 set object 1 behind clip lw 1.0 dashtype solid fc rgb "gray" fillstyle solid 1.00 border lt -1 set parametric set view 64, 345, 1.24375, 0.995902 set isosamples 50, 20 set style data lines unset xtics unset ytics unset ztics set title "Interlocking Tori - PM3D surface with depth sorting and transparency" set urange [ -3.14159 : 3.14159 ] noreverse nowriteback set vrange [ -3.14159 : 3.14159 ] noreverse nowriteback 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 pm3d depthorder set pm3d interpolate 1,1 flush begin noftriangles border linecolor rgb "#a0a0f0" linewidth 0.500 dashtype solid corners2color mean set palette rgbformulae 8, 9, 7 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 splot cos(u)+.5*cos(u)*cos(v),sin(u)+.5*sin(u)*cos(v),.5*sin(v) with pm3d, 1+cos(u)+.5*cos(u)*cos(v),.5*sin(v),sin(u)+.5*sin(u)*cos(v) with pm3d