# set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "world_2" jsdir "." # set output 'world.2.js' set dummy u, v set angles degrees unset key set style increment default set parametric set view 70, 40, 0.8, 1.2 set view equal xyz set samples 32, 32 set isosamples 9, 9 set mapping spherical set yzeroaxis set xyplane relative 0 set title "3D version using spherical coordinate system" set urange [ -90.0000 : 90.0000 ] noreverse nowriteback set vrange [ 0.00000 : 360.000 ] noreverse nowriteback set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback ## Last datafile plotted: "world.cor" splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines lc rgb "cyan" ,'world.dat' with lines lc rgb "blue" , 'world.cor' with points lt 1 pt 2