# # $Id: world.demo 3.38.2.6 1992/11/14 02:25:21 woo Exp $ # # # # plot a '3D version using spherical coordinate system' of the world. # set angles degrees set title "3D version using spherical coordinate system" set view 70,40,,2.0 set mapping spherical set parametric set samples 32 set isosamples 9 set urange [-pi/2:pi/2] set vrange [0:2*pi] splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines 5 6,\ '/home/longa/www/gnuplot/WAVES/data/world.dat' \ with lines 3 4, '/home/longa/www/gnuplot/WAVES/data/world.cor'\ with points 1 2 # # plot a '3D version using cylindrical coordinate system' of the world. # set title "3D version using cylindrical coordinate system" set mapping cylindrical set urange [-pi:pi] set vrange [-90:90] # change to WAVES directory splot cos(u),sin(u),v with lines 5 6,\ '/home/longa/www/gnuplot/WAVES/data/world.dat'\ with lines 3 4, '/home/longa/www/gnuplot/WAVES/data/world.cor'\ with points 1 2 # # plot world map and correspondent locations as a + # set title "Gnuplot Correspondences" set noyzeroaxis set noxtics set noytics plot '/home/longa/www/gnuplot/WAVES/data/world.dat'\ with lines 3 4,\ '/home/longa/www/gnuplot/WAVES/data/world.cor'\ with points 1 2