# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "singulr_15" jsdir "." # set output 'singulr.15.js' set dummy u, v set parametric set isosamples 31, 11 set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set style data lines set title "Moebius strip" set urange [ 0.00000 : 6.28319 ] noreverse nowriteback set vrange [ -0.250000 : 0.250000 ] noreverse nowriteback splot (2-v*sin(u/2))*sin(u),(2-v*sin(u/2))*cos(u),v*cos(u/2)