Advertisements
#Generated using the following gnuplot commands
set terminal pngcairo transparent enhanced font “arial,10” fontscale 1.0 size 700, 400
set output ‘game-of-life-torus.png’
unset key
unset border
unset xtics
unset ytics
unset ztics
set dummy u, v
set parametric
set view 25, 0, 1, 1
set isosamples 50, 30
set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover
set urange [ -pi : pi ] noreverse nowriteback
set vrange [ -pi : pi ] noreverse nowriteback
splot cos(u)+.5*cos(u)*cos(v),sin(u)+.5*sin(u)*cos(v),.5*sin(v) with lines