#!/bin/bash
#		GMT EXAMPLE 10
#
#		@(#)job10.bash	1.5  12/09/98
#
# Purpose:	Make 3-D bar graph on top of perspective map
# GMT progs:	pscoast, pstext, psxyz
# Unix progs:	$AWK, rm
#
pscoast -R-180/180/-90/90 -JX8i/5id -Dc -G0 -E200/40 -K -U"Example 10 in Cookbook" > example_10.ps
psxyz agu.d -R-180/180/-90/90/1/100000 -JX -JZ2.5il -So0.3ib1 -G140 -W0.5p -B60g60/30g30/a1p:Memberships:WSneZ -O -K -E200/40 >> example_10.ps
$AWK '{print $1-10, $2, 20, 0, 0, 7, $3}' agu.d | pstext -R-180/180/-90/90 -JX -O -K -E200/40 -G255 -S0.5p >> example_10.ps
echo "4.5 6 30 0 5 2 AGU 1991 Membership Distribution" | pstext -R0/11/0/8.5 -Jx1i -O >> example_10.ps
\rm -f .gmtcommands