#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "param_8" jsdir "." # set output 'param.8.js' set border 4095 front lt black linewidth 1.000 dashtype solid set dummy u, v set format x "" set format y "" set format x2 "" set format y2 "" set format z "" set format cb "" set format r "" set label 1 "Decouple range of parametric axes u/v\nfrom that of display axes x/y/z" at screen 0.1, 0.9, 0 left norotate back nopoint set parametric set view 120, 300, 1, 1 set view equal xyz set samples 121, 61 set isosamples 121, 61 set xyplane relative 0 set xtics border in scale 0,0 mirror norotate autojustify set ytics border in scale 0,0 mirror norotate autojustify set ztics border in scale 0,0 nomirror norotate autojustify set cbtics border in scale 0,0 mirror norotate autojustify set rtics axis in scale 0,0 nomirror norotate autojustify set urange [ -3.14159 : 3.14159 ] noreverse nowriteback set vrange [ -1.57080 : 1.57080 ] noreverse nowriteback set xrange [ -1.00000 : 1.00000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -1.00000 : 1.00000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ -1.00000 : 1.00000 ] noreverse nowriteback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set pm3d depthorder set palette cubehelix start 0.5 cycles 3 saturation 1 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault unset colorbox xx(u, v) = cos(v) * cos(u) yy(u, v) = cos(v) * sin(u) zz(u, v) = sin(v) color(u, v) = sin(2*u)+sin(2*v) ## Last datafile plotted: "++" splot "++" using (xx($1,$2)):(yy($1,$2)):(zz($1,$2)):(color($1,$2)) with pm3d notitle