REM		GMT EXAMPLE 09
REM
REM		$Id: example_09.bat 17436 2017-01-13 00:22:07Z pwessel $
REM
REM Purpose:	Make wiggle plot along track from geoid deflections
REM GMT progs:	gmtconvert, pswiggle, pstext, psxy
REM DOS calls:	del
REM
echo GMT EXAMPLE 09
set ps=example_09.ps
gmt pswiggle tracks.txt -R185/250/-68/-42 -K -Jm0.13i -Ba10f5 -BWSne+g240/255/240 -G+red -G-blue -Z2000 -Wthinnest -S240/-67/500/@~m@~rad > %ps%
gmt psxy -R -J -O -K ridge.xy -Wthicker >> %ps%
gmt psxy -R -J -O -K fz.xy -Wthinner,- >> %ps%
REM Take label from segment header and plot near coordinates of last record of each track
gmt convert -El tracks.txt | gmt pstext -R -J -F+f10p,Helvetica-Bold+a50+jRM+h -D-0.05i -O >> %ps%
del .gmt*
