Exemplo retirado da documentação do GNUPlot Wordpress:
[gplot] set size 1,0.7 set dummy u,v unset key set parametric set view 60, 30, 1.1, 1.33 set isosamples 50, 20 set title “Interlocking Tori - PM3D surface with depth sorting” set urange [ -3.14159 : 3.14159 ] noreverse nowriteback set vrange [ -3.14159 : 3.14159 ] noreverse nowriteback set pm3d depthorder splot cos(u)+.5cos(u)cos(v),sin(u)+.5sin(u)cos(v),.5sin(v) with pm3d,1+cos(u)+.5cos(u)cos(v),.5sin(v),sin(u)+.5sin(u)cos(v) with pm3d [/gplot]