#!/bin/csh
#

if ($#argv != 2) then
  echo "Usage: $0:t name title"
  exit 1
endif

set name=$argv[1]
set title=$argv[2]:q

set outfile=${name}.ps

set region=-R-122.8/-121.75/36.48/37.23
set symbol=-Sp
set proj=-JM6i
set verbose=-V
set fill=-Ggray

psbasemap --HEADER_FONT_SIZE=24 --LABEL_FONT_SIZE=16 -Lf-122.6/36.55/36.55/20+lkm $region $proj -B.5/.5:."$title": -P -K > $outfile

# Plot coastlines
pscoast  -R $proj -O -K -Dh -W $fill >> $outfile

psxy $verbose $name $region $proj $symbol -Crssi.cpt -W -Ggreen -P -O -K >> $outfile

psscale --LABEL_FONT_SIZE=16 -B5:RSSI: -A -D1.3i/1.3i/1.8i/0.2ih -Crssi.cpt -O >> $outfile

