# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "world_2" butt dashlength 1.0 # set output 'world.2.svg' set dummy u, v set angles degrees unset key 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 xzeroaxis 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 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 ## 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