#!/bin/bash
#	$Id: connections.sh 12350 2013-10-17 13:38:22Z fwobbe $
#
# Plot a lot of line segments

ps=connections.ps

gmt pscoast -R-71.6/-57.4/37.4/46.2 -JM20c -Dh -Glightgreen -Wdarkgreen -K > $ps
echo ; echo -n "- test with >  "
time cat "${src:-.}"/connections.dat | gmt psxy -A -R -J -O -K -Wred >> $ps
echo -n "- test with NaN"
time sed 's:>:NaN NaN:' "${src:-.}"/connections.dat | gmt psxy -A -R -J -O -K -Wblue >> $ps
gmt psbasemap -R -J -O -Ba2f1g2 >> $ps

printf "%-72s" "- PostScript result"
