[BACK]Return to world.dem CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / demo

Annotation of OpenXM_contrib/gnuplot/demo/world.dem, Revision 1.1.1.2

1.1       maekawa     1: #
1.1.1.2 ! maekawa     2: # $Id: world.dem,v 1.1.1.1.2.2 1999/08/19 14:34:27 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
        !            26: set view 70,40,0.8,1.2 # HBB: ,,2.0
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"
                     36: #
                     37: # plot a '3D version using cylindrical coordinate system' of the world.
                     38: set title "3D version using cylindrical coordinate system"
1.1.1.2 ! maekawa    39: set ticslevel 0.0
        !            40: set view 70,40,0.8,1.2 #HBB: ,,2.0
1.1       maekawa    41: set mapping cylindrical
                     42: set parametric
                     43: set samples 32
                     44: set isosamples 9
                     45: set urange [-180:180]
                     46: set vrange [-90:90]
                     47: splot cos(u),sin(u),v with lines 5 6,\
                     48: 'world.dat' with lines 3 4, 'world.cor' with points 1 2
                     49: pause -1 "Hit return to continue"
                     50:
                     51:
                     52: #
                     53: # Clean up:
                     54: #
1.1.1.2 ! maekawa    55: reset

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>