#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "singulr_18" jsdir "." # set output 'singulr.18.js' set dummy u, v unset key set parametric set view 60, 20, 1, 1 set isosamples 39, 40 set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set style data lines set title "Klein bottle with look at the 'inside'" set urange [ 0.00000 : 6.28319 ] noreverse nowriteback set vrange [ 0.00000 : 4.18879 ] noreverse nowriteback set xrange [ -10.0000 : 10.0000 ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ -10.0000 : 10.0000 ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ -3.00000 : 3.00000 ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault splot (2*sin(u)*cos(v/2)-sin(2*u)*sin(v/2)+8)*cos(v), (2*sin(u)*cos(v/2)-sin(2*u)*sin(v/2)+8)*sin(v), 2*sin(u)*sin(v/2)+sin(2*u)*cos(v/2)