#!/bin/bash
#	$Id: split.sh 12114 2013-09-03 19:19:00Z fwobbe $
#
# Split a polyline into chunks

ps=split.ps

gmt psxy data.dat -R-15/-12/35/37.5 -JM10c -W5p,gray -B1 -P -K > $ps
gmt splitxyz data.dat -C45 -A45/15 -fg | gmt psxy -R-15/-12/35/38 -JM10c -W1p -O >> $ps

