Annotation of OpenXM_contrib/gnuplot/demo/world.dem, Revision 1.1.1.3
1.1 maekawa 1: #
1.1.1.3 ! ohara 2: # $Id: world.dem,v 1.1.1.1.2.3 2001/12/04 14:12:53 lhecking Exp $
1.1 maekawa 3: #
4: #
5: set title "Gnuplot Correspondences"
6: set nokey
7: set noborder
8: set noyzeroaxis
9: set noxtics
10: set noytics
11: #
12: # plot world map and correspondent locations as a +
13: plot 'world.dat' with lines 3 4, 'world.cor' with points 1 2
14: set title ""
15: set key
16: set border
17: set yzeroaxis
18: set xtics
19: set ytics
20: pause -1 "Hit return to continue"
21: #
22: # plot a '3D version using spherical coordinate system' of the world.
23: set angles degrees
24: set title "3D version using spherical coordinate system"
1.1.1.2 maekawa 25: set ticslevel 0
1.1.1.3 ! ohara 26: set view 70,40,0.8,1.2
1.1 maekawa 27: set mapping spherical
28: set parametric
29: set samples 32
30: set isosamples 9
31: set urange [-90:90]
32: set vrange [0:360]
33: splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines 5 6,\
34: 'world.dat' with lines 3 4, 'world.cor' with points 1 2
35: pause -1 "Hit return to continue"
1.1.1.3 ! ohara 36:
1.1 maekawa 37: #
38: # plot a '3D version using cylindrical coordinate system' of the world.
39: set title "3D version using cylindrical coordinate system"
1.1.1.2 maekawa 40: set ticslevel 0.0
1.1.1.3 ! ohara 41: set view 70,40,0.8,1.2
1.1 maekawa 42: set mapping cylindrical
43: set parametric
44: set samples 32
45: set isosamples 9
46: set urange [-180:180]
47: set vrange [-90:90]
48: splot cos(u),sin(u),v with lines 5 6,\
49: 'world.dat' with lines 3 4, 'world.cor' with points 1 2
50: pause -1 "Hit return to continue"
1.1.1.2 maekawa 51: reset
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>