#!/bin/csh -f
#

# Set the output file
set psfile = "./gmt.ps"

# Start the Postscript file 
# 
psbasemap -JM6.5i -R-123.273/-121.285/37.193/38.684 -Ba0.500f0.500/a0.300f0.300NEWS:."":  -X0.75i -Y1.0i -P -K > $psfile 

# Add the Coastline and National Boundaries
# 
pscoast -K -O -J -R -B -N1 -N2 -W -Dl -A3 -G250/250/200  >> $psfile 

# Add station locations.  
# Input are longitude latitude.
#
psxy -K -O -J -R -St0.25i -G0/0/0 <<EOF >> $psfile 
-121.934 37.521 
-122.035 37.558 
-122.058 37.592 
-122.312 37.926 
-122.064 37.695 
-122.277 37.863 
-122.290 37.847 
-121.826 37.376 
-122.278 37.777 
-122.126 37.636 
-121.903 37.668 
-122.290 37.976 
-122.133 37.682 
-122.392 37.593 
-122.036 37.317 
-122.102 37.357 
-122.245 37.492 
-122.188 37.476 
-122.467 37.756 
-122.198 37.434 
-122.441 37.766 
-122.445 37.630 
-122.347 37.526 
-122.073 37.395 
-122.024 37.349 
-122.415 37.631 
-122.196 37.453 
-122.378 37.558 
-122.238 37.536 
-122.453 37.621 
-122.441 37.800 
-122.295 37.560 
-122.405 37.713 
-122.497 37.731 
-121.925 37.352 
-122.880 38.145 
-122.108 38.011 
-122.105 38.513 
-122.101 38.514 
-122.104 38.514 
-122.105 38.513 
-122.357 37.472 
-122.767 38.429 
-122.503 38.264 
-122.658 38.560 
-122.100 37.722 
-122.219 37.864 
-121.869 37.976 
-122.096 38.025 
-121.677 38.095 
EOF

# Add event locations.
# Input are longitude latitude.
#
psxy -O -K -J -R -W10/0/0/0  -Sc0.25i  <<EOF >> $psfile 
-122.377 37.618 
EOF

# End the Postscript File
# 
psxy -R -J -O /dev/null >> $psfile 

