#!/bin/bash
#
#       $Id: sph_4.sh 12114 2013-09-03 19:19:00Z fwobbe $

ps=sph_4.ps

# Use the locations of a global hotspot file
gmt sphtriangulate hotspots.d -Qd -T > tt.arcs
# Make a basic contour plot and overlay voronoi polygons and coastlines
gmt pscoast -Rg -JG-120/-30/7i -P -B30g30 -B+t"Delaunay triangles from hotspots" -Glightgray -K -X0.75i -Y2i > $ps
gmt psxy -R -J -O -K tt.arcs -W1p >> $ps
gmt psxy -R -J -O -K -W0.25p -Sc0.1i -Gred hotspots.d >> $ps
gmt psxy -R -J -O -T >> $ps
