# set terminal canvas solid butt size 600,400 fsize 10 lw 1 fontscale 1 name "surface2_8" jsdir "." # set output 'surface2.8.js' set dummy u,v set key bmargin center horizontal Right noreverse enhanced autotitles nobox set parametric set view 50, 30, 1, 1 set isosamples 40, 20 set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set ticslevel 0 set title "Parametric Shell (automatic z range)" set urange [ 0.00000 : 6.28319 ] noreverse nowriteback set vrange [ 0.00000 : 6.28319 ] noreverse nowriteback splot cos(u)*u*(1+cos(v)/2),sin(v)*u/2,sin(u)*u*(1+cos(v)/2)