version 1.1.1.1, 2000/01/09 17:01:04 |
version 1.1.1.3, 2003/09/15 07:09:29 |
Line 22 pause -1 "Hit return to continue" |
|
Line 22 pause -1 "Hit return to continue" |
|
# plot a '3D version using spherical coordinate system' of the world. |
# plot a '3D version using spherical coordinate system' of the world. |
set angles degrees |
set angles degrees |
set title "3D version using spherical coordinate system" |
set title "3D version using spherical coordinate system" |
set view 70,40,,2.0 |
set ticslevel 0 |
|
set view 70,40,0.8,1.2 |
set mapping spherical |
set mapping spherical |
set parametric |
set parametric |
set samples 32 |
set samples 32 |
Line 32 set vrange [0:360] |
|
Line 33 set vrange [0:360] |
|
splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines 5 6,\ |
splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines 5 6,\ |
'world.dat' with lines 3 4, 'world.cor' with points 1 2 |
'world.dat' with lines 3 4, 'world.cor' with points 1 2 |
pause -1 "Hit return to continue" |
pause -1 "Hit return to continue" |
|
|
# |
# |
# plot a '3D version using cylindrical coordinate system' of the world. |
# plot a '3D version using cylindrical coordinate system' of the world. |
set title "3D version using cylindrical coordinate system" |
set title "3D version using cylindrical coordinate system" |
set view 70,40,,2.0 |
set ticslevel 0.0 |
|
set view 70,40,0.8,1.2 |
set mapping cylindrical |
set mapping cylindrical |
set parametric |
set parametric |
set samples 32 |
set samples 32 |
Line 45 set vrange [-90:90] |
|
Line 48 set vrange [-90:90] |
|
splot cos(u),sin(u),v with lines 5 6,\ |
splot cos(u),sin(u),v with lines 5 6,\ |
'world.dat' with lines 3 4, 'world.cor' with points 1 2 |
'world.dat' with lines 3 4, 'world.cor' with points 1 2 |
pause -1 "Hit return to continue" |
pause -1 "Hit return to continue" |
|
reset |
|
|
# |
|
# Clean up: |
|
# |
|
set noparametric |
|
set mapping cartesian |
|
set angles radians |
|
set samples 100 |
|
set isosamples 10 |
|
set view 60,30,1,1 |
|
set xrange [-10:10] |
|
set yrange [-10:10] |
|
set zrange [-10:10] |
|
set auto |
|
set title "" 0,0 |
|