#!/bin/bash
#	$Id: GMT_-R.sh 17436 2017-01-13 00:22:07Z pwessel $
#
gmt gmtset MAP_FRAME_TYPE PLAIN FONT_ANNOT_PRIMARY 8p,Helvetica MAP_TICK_LENGTH_PRIMARY 0.05i \
	PS_CHAR_ENCODING ISOLatin1+
gmt pscoast -R-90/-70/18/35.819 -JM2i -P -Dl -Glightbrown -Wthinnest -Ba10g5 -BWsEN -K > GMT_-R.ps
gmt pstext -R0/2/-0.5/2 -Jx1i -O -K -N -Y-0.5 -F+f9p,Helvetica-Oblique+jCT << EOF >> GMT_-R.ps
1	-0.375	@%0%a)@%% @%1%\035R@%%xmin/xmax/ymin/ymax
EOF
gmt psxy -R -J -O -K -N -Sc0.1 -Wthinner << EOF >> GMT_-R.ps
0	1
1	0
1	2
2	1
EOF
gmt psxy -R -J -O -K -N -Wthinner << EOF >> GMT_-R.ps
>
0	1
0.675	-0.35
>
1	0
1.28	-0.35
>
1	2
1.67	-0.35
>
2	1
1.05	-0.35
EOF
#
gmt pscoast -R-90/20/-65.5327/29.4248+rr -JOc280/20/22/69/2 -O -Dl -Glightbrown -Wthinnest -Ba10g5 -BWsEN -K -X2.75 -Y0.5 >> GMT_-R.ps
gmt pstext -R0/2/-0.5/2 -Jx1i -O -K -N -Y-0.5 -F+f9p,Helvetica-Oblique+jCT << EOF >> GMT_-R.ps
1	-0.375	@%0%b)@%% @%1%\035R@%%xlleft/ylleft/xuright/yuright@%1%+r@%%
EOF
gmt psxy -R -J -O -K -N -Sc0.1 -Wthinner << EOF >> GMT_-R.ps
0	0
2	2
EOF
gmt psxy -R -J -O -N -Wthinner << EOF >> GMT_-R.ps
>
0	0
0.56	-0.35
>
0	0
0.87	-0.35
>
2	2
1.2	-0.35
>
2	2
1.63	-0.35
EOF
