#!/bin/bash
#		GMT EXAMPLE 08
#		$Id: job08.sh 9545 2011-07-27 19:31:54Z pwessel $
#
# Purpose:	Make a 3-D bar plot
# GMT progs:	grd2xyz, pstext, psxyz
# Unix progs:	echo, rm
#
. ../functions.sh
ps=../example_08.ps
grd2xyz guinea_bay.nc | psxyz -B1/1/1000:"Topography (m)"::.ETOPO5:WSneZ+ \
	-R-0.1/5.1/-0.1/5.1/-5000/0 -JM5i -JZ6i -E200/30 -So0.0833333ub-5000 -P \
	-U"Example 8 in Cookbook" -Wthinnest -Glightgray -K > $ps
echo '0.1 4.9 24 0 1 TL This is the surface of cube' | pstext -R -J -JZ -Z0 -E200/30 -O >> $ps
rm -f .gmt*
