#!/bin/csh

#  Draw basemap
#  ------------
pscoast -Jm2.17788847904254 -R-123.5517574/-121.0722916/37.1250722/38.5332438 \
-Ba1.0f10mwSnE \
-W3/0/0/0 -Na/1 -N2/5/255/255/255 -N2/2/0/0/0 -S153/255/255 \
-Df -Ir/1/114/187/243 \
-Lf-122.940765/37.37470262/37.37470262/50 \
-G236/232/211 -P -K >! CentralBay.ps

#  Calif hiways
#  ------------
psxy /attic/mapdata/ca_hiwys.all.asc \
-: -Jm -R -MS -W3/102/102/102 -O -K \
>> CentralBay.ps

#  Calif lakes
#  ------------
psxy /attic/mapdata/lakes.calif \
-: -Jm -R -MS -W3/102/102/102 -G153/255/255 -O -K \
>> CentralBay.ps

#  Nevada faults
#  -------------
psxy /attic/mapdata/nevada.car \
-: -Jm -R -MS -W3/255/102/102 -O -K \
>> CentralBay.ps

#  Calif faults
#  ------------
psxy /attic/mapdata/Jennings_faults.car \
-: -Jm -R -MS -W3/255/102/102 -O -K \
>> CentralBay.ps

#  All M7-7.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.90 -O -K \
>> CentralBay.ps
EOT

#  All M6-6.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.75 -O -K \
>> CentralBay.ps
EOT

#  All M5-5.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.60 -O -K \
>> CentralBay.ps
EOT

#  All M4-4.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.45 -O -K \
>> CentralBay.ps
  54.16800	-161.70500	4.4	          216526051.0000000000
  65.90400	-140.70700	4.0	          216799089.0000000000
EOT

#  All M3-3.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.30 -O -K \
>> CentralBay.ps
  63.08500	-151.56100	3.9	          216817899.0000000000
  32.69200	-116.04200	3.8	          216783134.0000000000
  54.60600	-163.50800	3.7	          216759988.0000000000
  19.89900	-155.84800	3.7	          216653766.0000000000
  39.35700	-123.28200	3.7	          216407156.0000000000
  19.30700	 -64.19600	3.6	          216587027.0000000000
  19.01400	 -66.29600	3.6	          216496585.0000000000
  54.41700	-161.52500	3.5	          216753211.0000000000
  18.05300	 -64.19600	3.5	          216683927.0000000000
  19.11000	 -65.33600	3.5	          216422088.0000000000
  19.26800	 -65.88500	3.4	          216848148.0000000000
  58.57700	-153.08100	3.4	          216757785.0000000000
  40.71500	-124.59300	3.4	          216733324.0000000000
  18.98000	 -65.10700	3.4	          216414637.0000000000
  53.13500	-163.26600	3.4	          216380694.0000000000
  62.84400	-148.68600	3.3	          216865346.0000000000
  62.52100	-142.83900	3.3	          216827141.0000000000
  61.91100	-150.31500	3.3	          216813528.0000000000
  18.94000	 -67.88100	3.3	          216800338.0000000000
  19.07200	 -64.87300	3.3	          216713874.0000000000
  54.49400	-163.49800	3.3	          216712552.0000000000
  18.97700	 -65.11300	3.3	          216429650.0000000000
  19.01800	 -65.09500	3.3	          216415205.0000000000
  18.98500	 -67.94800	3.2	          216808145.0000000000
  56.73400	-156.06600	3.2	          216795629.0000000000
  18.43800	 -65.65500	3.2	          216681813.0000000000
  54.82300	-163.72200	3.2	          216623075.0000000000
  56.78000	-157.14100	3.2	          216581105.0000000000
  57.02100	-156.83600	3.2	          216548216.0000000000
  18.58600	 -66.92400	3.2	          216501295.0000000000
  19.01000	 -65.09000	3.2	          216457783.0000000000
  18.92400	 -65.11600	3.2	          216431380.0000000000
  18.99600	 -65.11700	3.2	          216397418.0000000000
  19.30400	-155.23400	3.1	          216893334.0000000000
  60.26900	-152.66500	3.1	          216839286.0000000000
  54.49400	-163.49800	3.1	          216814932.0000000000
  19.14000	 -64.61800	3.1	          216758130.0000000000
  51.76000	-182.07100	3.1	          216752471.0000000000
  46.17000	 -76.84600	3.1	          216474697.0000000000
  19.07700	 -65.08900	3.1	          216432266.0000000000
  18.50900	 -67.84600	3.0	          216852029.0000000000
  63.18900	-151.77200	3.0	          216826906.0000000000
  36.23900	-120.80600	3.0	          216681579.0000000000
  19.19700	 -68.32300	3.0	          216591978.0000000000
  53.69000	-164.67500	3.0	          216583794.0000000000
  51.25600	-175.80300	3.0	          216526752.0000000000
  19.03000	 -65.08800	3.0	          216431553.0000000000
EOT

#  All M2-2.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.20 -O -K \
>> CentralBay.ps
  18.63200	 -64.96800	2.9	          216846314.0000000000
  19.23600	 -66.54100	2.9	          216819304.0000000000
  51.68100	-181.09700	2.9	          216767438.0000000000
  37.26000	-113.97600	2.9	          216676586.0000000000
  61.30800	-141.01800	2.9	          216675065.0000000000
  19.14200	 -65.88500	2.9	          216662867.0000000000
  32.20300	-115.88000	2.9	          216660102.0000000000
  40.69300	-123.95700	2.9	          216556145.0000000000
  19.03800	 -65.08000	2.9	          216457102.0000000000
  18.97600	 -65.11700	2.9	          216456301.0000000000
  36.13100	-117.67000	2.9	          216441244.0000000000
  18.99800	 -65.12500	2.9	          216416939.0000000000
  18.16200	 -66.87900	2.9	          216404472.0000000000
  31.83800	-116.05800	2.9	          216384171.0000000000
  57.64400	-156.63900	2.9	          216379037.0000000000
  54.60600	-163.50800	2.8	          216795932.0000000000
  18.41800	 -64.50800	2.8	          216757607.0000000000
  33.48500	-116.58200	2.8	          216690137.0000000000
  59.39100	-152.97900	2.8	          216639288.0000000000
  46.19700	-122.19200	2.8	          216572060.0000000000
  19.42900	-155.61900	2.8	          216526119.0000000000
  37.38100	-121.77100	2.8	          216517460.0000000000
  37.84900	-121.99900	2.8	          216498093.0000000000
  18.98900	 -65.10700	2.8	          216458553.0000000000
  18.89000	 -65.11200	2.8	          216422296.0000000000
  18.93300	 -65.12200	2.8	          216421335.0000000000
  46.19800	-122.19600	2.8	          216406140.0000000000
  51.80000	-178.67700	2.7	          216893612.0000000000
  61.75000	-150.10600	2.7	          216758694.0000000000
  19.08700	 -64.83300	2.7	          216735132.0000000000
  57.59400	-153.73300	2.7	          216660996.0000000000
  62.99100	-150.79500	2.7	          216635188.0000000000
  51.76000	-175.92900	2.7	          216614864.0000000000
  19.01400	 -65.09300	2.7	          216456612.0000000000
  46.19700	-122.18700	2.6	          216874183.0000000000
  46.20300	-122.18800	2.6	          216859216.0000000000
  17.89700	 -66.76200	2.6	          216847131.0000000000
  46.85600	-121.98000	2.6	          216841692.0000000000
  40.29800	-124.52700	2.6	          216782557.0000000000
  38.76900	-122.74100	2.6	          216722045.0000000000
  60.48300	-147.86900	2.6	          216605819.0000000000
  19.91200	-155.92300	2.6	          216501093.0000000000
  39.35500	-123.28200	2.6	          216422521.0000000000
  60.07000	-152.90400	2.6	          216383579.0000000000
  19.29500	-155.23600	2.5	          216893734.0000000000
  38.75300	-122.71400	2.5	          216887514.0000000000
  51.09900	-179.47800	2.5	          216876823.0000000000
  40.26600	-124.48000	2.5	          216797719.0000000000
  60.32000	-152.88400	2.5	          216791763.0000000000
  53.66500	-165.23900	2.5	          216773838.0000000000
  32.21400	-115.87800	2.5	          216676568.0000000000
  37.21000	-114.62100	2.5	          216642911.0000000000
  60.32000	-152.88400	2.5	          216593468.0000000000
  36.49600	-121.07300	2.5	          216413651.0000000000
  60.24300	-151.41000	2.4	          216874932.0000000000
  38.81800	-122.78500	2.4	          216848501.0000000000
  64.68600	-147.56900	2.4	          216812119.0000000000
  64.68800	-149.12900	2.4	          216808662.0000000000
  18.14100	 -67.01900	2.4	          216800994.0000000000
  18.45000	 -65.01500	2.4	          216783178.0000000000
  32.98200	-115.90000	2.4	          216655503.0000000000
  37.93700	-122.05600	2.4	          216647786.0000000000
  63.62900	-147.52500	2.4	          216608305.0000000000
  60.39600	-151.01200	2.4	          216545014.0000000000
  17.98900	 -66.42000	2.4	          216518718.0000000000
  34.06300	-116.69900	2.4	          216496519.0000000000
  40.28500	-121.20200	2.4	          216460608.0000000000
  18.88400	 -65.13300	2.4	          216421278.0000000000
  32.72800	-116.04300	2.3	          216865354.0000000000
  61.92600	-149.76200	2.3	          216857002.0000000000
  18.03100	 -66.92200	2.3	          216848340.0000000000
  60.24700	-150.90700	2.3	          216837223.0000000000
  40.74900	-122.33200	2.3	          216820888.0000000000
  35.93800	-117.22700	2.3	          216741082.0000000000
  33.95100	-118.74900	2.3	          216697037.0000000000
  62.33800	-148.17000	2.3	          216678399.0000000000
  61.53200	-146.43600	2.3	          216596091.0000000000
  64.64800	-150.18300	2.3	          216586928.0000000000
  38.52300	-112.13700	2.3	          216541822.0000000000
  19.00400	 -65.09800	2.3	          216442711.0000000000
  61.74900	-149.57700	2.3	          216422587.0000000000
  18.79200	 -67.33100	2.3	          216413346.0000000000
  46.19600	-122.19100	2.3	          216382182.0000000000
  36.68400	-121.31000	2.2	          216856968.0000000000
  63.13900	-151.76900	2.2	          216838695.0000000000
  46.19500	-122.19300	2.2	          216838293.0000000000
  35.03100	-117.66900	2.2	          216806144.0000000000
  46.19500	-122.19300	2.2	          216793959.0000000000
  32.70300	-116.03500	2.2	          216792629.0000000000
  19.81000	-155.94400	2.2	          216784088.0000000000
  33.74900	-116.80700	2.2	          216783911.0000000000
  35.66100	-118.46500	2.2	          216779728.0000000000
  46.19600	-122.19300	2.2	          216762409.0000000000
  44.34400	-110.80300	2.2	          216734450.0000000000
  46.19600	-122.19300	2.2	          216731119.0000000000
  41.73800	-112.39500	2.2	          216729400.0000000000
  47.77500	-121.87300	2.2	          216706016.0000000000
  20.07700	-156.17000	2.2	          216702888.0000000000
  60.48100	-147.76700	2.2	          216666921.0000000000
  38.40600	-122.22100	2.2	          216651713.0000000000
  46.19700	-122.19500	2.2	          216608141.0000000000
  37.63300	-119.40000	2.2	          216544091.0000000000
  46.19500	-122.19400	2.2	          216516670.0000000000
  39.35400	-123.27900	2.2	          216483063.0000000000
  36.49500	-121.07300	2.2	          216462538.0000000000
  61.79900	-151.54700	2.1	          216847396.0000000000
  39.33300	-122.85600	2.1	          216819267.0000000000
  38.52700	-119.59200	2.1	          216813985.0000000000
  39.47000	-123.10900	2.1	          216721771.0000000000
  38.82900	-122.79800	2.1	          216691938.0000000000
  51.49700	-178.19700	2.1	          216648661.0000000000
  62.85100	-149.55900	2.1	          216636181.0000000000
  61.61400	-151.74000	2.1	          216629225.0000000000
  39.35200	-123.28000	2.1	          216590885.0000000000
  37.62600	-122.46900	2.1	          216559470.0000000000
  41.77300	-112.67400	2.1	          216513129.0000000000
  17.83200	 -66.90900	2.1	          216480217.0000000000
  40.23600	-124.53500	2.1	          216453172.0000000000
  38.37200	-118.71600	2.1	          216434430.0000000000
  32.71000	-116.05700	2.1	          216394267.0000000000
  33.41300	-116.46300	2.0	          216820741.0000000000
  46.82300	-121.50400	2.0	          216820178.0000000000
  37.32500	-122.10300	2.0	          216798003.0000000000
  19.91500	-155.93100	2.0	          216792093.0000000000
  36.31000	-117.89700	2.0	          216759666.0000000000
  19.32100	-156.25100	2.0	          216757910.0000000000
  39.35500	-123.28400	2.0	          216744879.0000000000
  38.82500	-122.79600	2.0	          216738817.0000000000
  39.54800	-123.36200	2.0	          216720798.0000000000
  60.16800	-152.35300	2.0	          216681326.0000000000
  36.22400	-117.90900	2.0	          216645285.0000000000
  62.99100	-150.79500	2.0	          216625829.0000000000
  35.47200	-118.53200	2.0	          216559184.0000000000
  32.57500	-115.79600	2.0	          216557059.0000000000
  20.15900	-155.88900	2.0	          216550115.0000000000
  62.94900	-150.54900	2.0	          216547931.0000000000
  39.73400	-120.91100	2.0	          216536203.0000000000
  35.48400	-120.79400	2.0	          216533000.0000000000
  62.62300	-151.30600	2.0	          216518456.0000000000
  64.03400	-148.83100	2.0	          216464281.0000000000
  40.29000	-121.20300	2.0	          216460692.0000000000
  38.37500	-118.39000	2.0	          216449215.0000000000
  46.19600	-122.19400	2.0	          216424780.0000000000
  63.44500	-145.97500	2.0	          216421326.0000000000
  18.98800	 -65.10700	2.0	          216417451.0000000000
  39.36000	-123.28200	2.0	          216407408.0000000000
  17.99100	 -66.51600	2.0	          216400610.0000000000
  33.48400	-116.49000	2.0	          216384981.0000000000
EOT

#  All M1-1.9 Earthquakes in the last week
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/255/0 \
-Jm -Ss.10 -O -K \
>> CentralBay.ps
  17.96800	 -66.24800	1.9	          216884492.0000000000
  32.59700	-115.77500	1.9	          216880601.0000000000
  64.29200	-149.50200	1.9	          216839311.0000000000
  39.41900	-111.22400	1.9	          216823189.0000000000
  63.05900	-149.73800	1.9	          216761888.0000000000
  39.41200	-111.22200	1.9	          216757293.0000000000
  39.41400	-111.22700	1.9	          216715380.0000000000
  39.41600	-111.22500	1.9	          216704699.0000000000
  60.09200	-151.50400	1.9	          216699209.0000000000
  36.04600	-115.25500	1.9	          216689596.0000000000
  34.62000	-116.63200	1.9	          216689035.0000000000
  34.73300	-116.29500	1.9	          216647525.0000000000
  39.67100	-110.48100	1.9	          216639082.0000000000
  33.10700	-116.07000	1.9	          216591171.0000000000
  35.78000	 -90.28000	1.9	          216588893.0000000000
  34.50600	-118.10000	1.9	          216570572.0000000000
  47.66600	-120.24900	1.9	          216568457.0000000000
  36.28500	-120.83500	1.9	          216550060.0000000000
  48.27600	-122.49700	1.9	          216542322.0000000000
  61.64000	-148.31600	1.9	          216524956.0000000000
  35.23600	-120.51100	1.9	          216518938.0000000000
  17.97700	 -66.46300	1.9	          216518896.0000000000
  61.55000	-149.89500	1.9	          216518090.0000000000
  33.47800	-116.43900	1.9	          216476229.0000000000
  61.60000	-149.89500	1.9	          216381202.0000000000
  38.77200	-122.72200	1.8	          216858899.0000000000
  47.70500	-118.93900	1.8	          216854569.0000000000
  61.28300	-149.98600	1.8	          216850054.0000000000
  60.43200	-152.84200	1.8	          216828629.0000000000
  19.40400	-155.00800	1.8	          216813565.0000000000
  33.53600	-117.10200	1.8	          216811131.0000000000
  38.68400	-122.89600	1.8	          216778807.0000000000
  64.54800	-151.81400	1.8	          216700095.0000000000
  46.19600	-122.19300	1.8	          216690013.0000000000
  35.73500	-121.15000	1.8	          216682724.0000000000
  33.21100	-116.18700	1.8	          216677678.0000000000
  34.73200	-116.29600	1.8	          216650299.0000000000
  38.81200	-122.82500	1.8	          216639814.0000000000
  61.26200	-146.77600	1.8	          216636407.0000000000
  41.91500	-112.86000	1.8	          216624758.0000000000
  37.11400	-121.52500	1.8	          216607603.0000000000
  20.12600	-155.44500	1.8	          216563996.0000000000
  46.19600	-122.19500	1.8	          216559714.0000000000
  37.38400	-121.76900	1.8	          216552900.0000000000
  61.20800	-151.22700	1.8	          216518652.0000000000
  40.17900	-118.23600	1.8	          216512023.0000000000
  35.48600	-120.79200	1.8	          216511684.0000000000
  39.41100	-111.22800	1.8	          216465324.0000000000
  39.35500	-123.27600	1.8	          216429562.0000000000
  33.24100	-116.10900	1.8	          216397376.0000000000
  34.26300	-117.55000	1.8	          216393826.0000000000
  65.05400	-147.32300	1.8	          216389863.0000000000
  61.60000	-149.89500	1.8	          216381823.0000000000
  38.80600	-122.79500	1.7	          216879261.0000000000
  34.16300	-116.42400	1.7	          216814883.0000000000
  37.71500	-122.13900	1.7	          216810109.0000000000
  63.42900	-147.54300	1.7	          216784442.0000000000
  33.58600	-116.60600	1.7	          216781533.0000000000
  35.51100	-118.47700	1.7	          216756431.0000000000
  17.94700	 -66.96600	1.7	          216753582.0000000000
  19.32000	-155.19100	1.7	          216753510.0000000000
  35.50800	-118.47600	1.7	          216746987.0000000000
  33.45600	-116.65500	1.7	          216731940.0000000000
  33.48900	-116.55700	1.7	          216711699.0000000000
  64.25000	-150.77000	1.7	          216691671.0000000000
  32.74100	-116.04300	1.7	          216683019.0000000000
  37.96900	-118.54800	1.7	          216670609.0000000000
  32.96300	-115.88400	1.7	          216655564.0000000000
  46.19700	-122.19600	1.7	          216654692.0000000000
  36.12800	-117.65900	1.7	          216654158.0000000000
  34.26800	-116.78200	1.7	          216647314.0000000000
  62.98500	-149.88500	1.7	          216620028.0000000000
  63.17300	-150.39400	1.7	          216567092.0000000000
  35.53800	-120.81100	1.7	          216561073.0000000000
  33.49900	-116.47200	1.7	          216547827.0000000000
  37.38500	-121.76600	1.7	          216517821.0000000000
  39.68100	-110.48300	1.7	          216513647.0000000000
  60.99200	-151.44300	1.7	          216483934.0000000000
  37.71800	-122.54500	1.7	          216457189.0000000000
  46.19600	-122.18600	1.6	          216890122.0000000000
  34.16500	-116.42700	1.6	          216859914.0000000000
  34.83800	-118.96600	1.6	          216855142.0000000000
  39.41700	-111.22600	1.6	          216842275.0000000000
  39.42300	-111.21500	1.6	          216835283.0000000000
  32.70800	-116.05200	1.6	          216816219.0000000000
  39.41600	-111.22100	1.6	          216813821.0000000000
  32.70600	-116.04500	1.6	          216808680.0000000000
  39.41600	-111.22500	1.6	          216806301.0000000000
  36.54000	 -89.61000	1.6	          216805842.0000000000
  39.41900	-111.22100	1.6	          216793458.0000000000
  32.71100	-116.04900	1.6	          216788124.0000000000
  46.79200	-120.09400	1.6	          216778611.0000000000
  33.22400	-115.64200	1.6	          216773641.0000000000
  32.61000	-115.79000	1.6	          216748998.0000000000
  39.42200	-111.21700	1.6	          216745924.0000000000
  33.37000	-116.31800	1.6	          216727264.0000000000
  36.96100	-121.55000	1.6	          216722141.0000000000
  39.41100	-111.22700	1.6	          216718914.0000000000
  36.60600	-121.21400	1.6	          216718824.0000000000
  36.54000	 -89.61000	1.6	          216697277.0000000000
  33.50000	-116.55200	1.6	          216692990.0000000000
  39.41600	-111.22700	1.6	          216660559.0000000000
  36.21900	-117.90400	1.6	          216645444.0000000000
  63.45000	-149.77600	1.6	          216624012.0000000000
  35.52800	-120.77400	1.6	          216576980.0000000000
  61.15000	-149.68900	1.6	          216576810.0000000000
  33.49500	-116.55200	1.6	          216574416.0000000000
  35.32400	-118.54600	1.6	          216566634.0000000000
  32.82800	-116.06700	1.6	          216564099.0000000000
  33.28900	-116.89300	1.6	          216557525.0000000000
  38.77200	-122.70600	1.6	          216547790.0000000000
  34.20700	-117.58200	1.6	          216507086.0000000000
  32.69900	-116.04900	1.6	          216504281.0000000000
  35.85000	 -90.07000	1.6	          216384950.0000000000
  33.30400	-116.31300	1.6	          216379934.0000000000
  32.70300	-116.02500	1.5	          216874027.0000000000
  34.09600	-117.95900	1.5	          216853652.0000000000
  39.41800	-111.22200	1.5	          216840877.0000000000
  64.29200	-149.50200	1.5	          216839511.0000000000
  33.46500	-116.62700	1.5	          216804094.0000000000
  32.60900	-115.78500	1.5	          216749209.0000000000
  44.73000	-111.13000	1.5	          216738662.0000000000
  37.51500	-118.61700	1.5	          216733270.0000000000
  39.41200	-111.22800	1.5	          216710818.0000000000
  36.54000	 -89.61000	1.5	          216709698.0000000000
  33.50200	-116.54400	1.5	          216690247.0000000000
  34.42000	-116.18300	1.5	          216678977.0000000000
  34.03500	-117.19600	1.5	          216657107.0000000000
  39.41500	-111.22200	1.5	          216643392.0000000000
  38.81200	-122.82400	1.5	          216638994.0000000000
  38.82500	-122.78500	1.5	          216626301.0000000000
  37.45600	-118.83800	1.5	          216600556.0000000000
  46.85500	-121.59200	1.5	          216573307.0000000000
  63.05200	-150.85000	1.5	          216546798.0000000000
  61.75900	-150.64100	1.5	          216538053.0000000000
  32.96200	-115.55800	1.5	          216536116.0000000000
  44.76500	-111.13500	1.5	          216506465.0000000000
  34.23500	-117.46200	1.5	          216506072.0000000000
  44.43600	-110.79300	1.5	          216501746.0000000000
  36.12500	-117.66800	1.5	          216484626.0000000000
  35.48400	-118.42300	1.5	          216469394.0000000000
  39.41800	-111.22200	1.5	          216459794.0000000000
  32.70200	-116.04400	1.5	          216445914.0000000000
  34.26600	-117.77000	1.5	          216387001.0000000000
  35.66500	-117.49800	1.5	          216384578.0000000000
  34.85300	-118.77200	1.4	          216883777.0000000000
  32.68600	-116.03400	1.4	          216879643.0000000000
  34.37300	-118.52300	1.4	          216844746.0000000000
  39.42500	-111.21800	1.4	          216840248.0000000000
  39.42200	-111.21600	1.4	          216832172.0000000000
  47.73600	-122.40000	1.4	          216831879.0000000000
  39.42200	-111.22000	1.4	          216829624.0000000000
  46.82000	-121.51100	1.4	          216820111.0000000000
  39.49000	-119.68300	1.4	          216811381.0000000000
  39.41200	-111.20900	1.4	          216798928.0000000000
  39.41900	-111.21300	1.4	          216757638.0000000000
  35.02200	-117.54600	1.4	          216755847.0000000000
  39.42000	-111.22300	1.4	          216749815.0000000000
  64.74900	-150.41400	1.4	          216715022.0000000000
  38.85900	-118.91000	1.4	          216712150.0000000000
  32.69600	-116.03700	1.4	          216652531.0000000000
  37.67600	-115.10400	1.4	          216652230.0000000000
  32.69400	-116.03600	1.4	          216596995.0000000000
  38.81300	-122.78600	1.4	          216590514.0000000000
  47.59200	-114.55800	1.4	          216587251.0000000000
  47.39000	-122.07300	1.4	          216564433.0000000000
  38.77700	-122.72300	1.4	          216547759.0000000000
  33.47000	-116.49800	1.4	          216516723.0000000000
  36.11500	-117.86200	1.4	          216515738.0000000000
  36.02600	-117.77400	1.4	          216508908.0000000000
  44.43700	-110.78300	1.4	          216501608.0000000000
  33.45300	-116.47200	1.4	          216484827.0000000000
  37.51800	-118.83500	1.4	          216479385.0000000000
  65.00400	-147.33000	1.4	          216475664.0000000000
  33.49800	-116.43900	1.4	          216440574.0000000000
  38.38100	-118.70700	1.4	          216433149.0000000000
  34.15600	-116.42700	1.4	          216393798.0000000000
  37.50100	-122.41100	1.3	          216892988.0000000000
  33.22700	-115.64500	1.3	          216773978.0000000000
  47.36400	-113.88900	1.3	          216757406.0000000000
  33.34300	-116.21400	1.3	          216671768.0000000000
  39.67800	-110.47300	1.3	          216657895.0000000000
  38.41600	-122.22100	1.3	          216651559.0000000000
  38.41600	-122.20600	1.3	          216651367.0000000000
  36.95800	-121.44500	1.3	          216592680.0000000000
  33.12900	-116.39700	1.3	          216574423.0000000000
  39.66900	-110.48800	1.3	          216560380.0000000000
  38.81200	-122.79700	1.3	          216537602.0000000000
  44.76900	-111.14100	1.3	          216506463.0000000000
  37.35900	-122.13100	1.3	          216441774.0000000000
  34.26300	-117.76200	1.3	          216410044.0000000000
  37.65700	-118.82900	1.3	          216381589.0000000000
  38.79900	-122.80700	1.2	          216831939.0000000000
  39.72600	-110.76800	1.2	          216809952.0000000000
  33.64800	-116.71400	1.2	          216797630.0000000000
  32.69500	-116.03800	1.2	          216786502.0000000000
  32.70100	-116.03500	1.2	          216784120.0000000000
  41.76600	-112.67700	1.2	          216681501.0000000000
  38.81300	-122.79700	1.2	          216642844.0000000000
  36.60000	-121.20900	1.2	          216640615.0000000000
  35.52000	-118.42700	1.2	          216640417.0000000000
  33.36000	-116.36200	1.2	          216616210.0000000000
  45.30700	-112.60500	1.2	          216611955.0000000000
  46.84400	-121.60300	1.2	          216602636.0000000000
  35.92500	-117.68100	1.2	          216568700.0000000000
  37.49700	-115.43400	1.2	          216568645.0000000000
  41.91900	-112.88200	1.2	          216568623.0000000000
  34.21200	-117.57100	1.2	          216507094.0000000000
  40.46800	-111.95800	1.2	          216499662.0000000000
  35.68100	-118.10400	1.2	          216426631.0000000000
  39.67200	-110.48200	1.2	          216415902.0000000000
  34.16100	-116.42100	1.2	          216389589.0000000000
  41.91800	-112.86500	1.2	          216386059.0000000000
  33.73000	-116.68200	1.2	          216382594.0000000000
  38.82800	-122.80400	1.2	          216382274.0000000000
  37.24000	-117.43100	1.1	          216889484.0000000000
  34.97700	-116.93600	1.1	          216826176.0000000000
  33.55600	-117.09800	1.1	          216811119.0000000000
  38.79800	-122.80700	1.1	          216799780.0000000000
  64.52300	-148.21000	1.1	          216781704.0000000000
  36.02000	-117.87800	1.1	          216769160.0000000000
  34.29400	-118.45300	1.1	          216764669.0000000000
  33.64200	-116.71900	1.1	          216746689.0000000000
  38.67200	-111.80300	1.1	          216744391.0000000000
  33.92300	-116.73100	1.1	          216659272.0000000000
  38.81200	-122.82500	1.1	          216634790.0000000000
  45.34200	-122.37600	1.1	          216628335.0000000000
  45.12300	-120.94000	1.1	          216551524.0000000000
  41.78500	-112.67100	1.1	          216509522.0000000000
  34.56700	-116.49900	1.1	          216482392.0000000000
  37.41600	-117.07100	1.1	          216466662.0000000000
  64.59000	-149.25200	1.1	          216459755.0000000000
  33.49100	-116.57900	1.1	          216425417.0000000000
  34.57200	-116.51100	1.1	          216392670.0000000000
  38.91300	-123.01300	1.0	          216878350.0000000000
  35.06600	-117.11800	1.0	          216856676.0000000000
  33.47300	-116.60400	1.0	          216852436.0000000000
  41.92200	-112.90200	1.0	          216568475.0000000000
  38.68300	-119.50500	1.0	          216562918.0000000000
  35.74500	-117.65000	1.0	          216525742.0000000000
  35.74800	-117.65100	1.0	          216525131.0000000000
  36.93900	-121.56100	1.0	          216482667.0000000000
  41.80600	-112.30900	1.0	          216460911.0000000000
  34.34100	-116.85200	1.0	          216456848.0000000000
  44.53800	-110.36100	1.0	          216443320.0000000000
  33.47200	-116.49100	1.0	          216421492.0000000000
  39.67200	-110.47200	1.0	          216393569.0000000000
EOT

#  All M7-7.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.90 -O -K \
>> CentralBay.ps
EOT

#  All M6-6.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.75 -O -K \
>> CentralBay.ps
EOT

#  All M5-5.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.60 -O -K \
>> CentralBay.ps
EOT

#  All M4-4.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.45 -O -K \
>> CentralBay.ps
EOT

#  All M3-3.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.30 -O -K \
>> CentralBay.ps
  54.64900	-163.55100	3.7	          216911746.0000000000
  53.80500	-164.00500	3.6	          216916102.0000000000
  53.42200	-166.86500	3.5	          216914994.0000000000
  32.68800	-116.05200	3.1	          216927048.0000000000
  39.47200	-123.10800	3.0	          216896734.0000000000
EOT

#  All M2-2.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.20 -O -K \
>> CentralBay.ps
  59.94500	-152.66300	2.9	          216945265.0000000000
  59.45500	-152.57300	2.9	          216920507.0000000000
  32.68800	-116.06500	2.7	          216928153.0000000000
  18.06900	 -66.05500	2.7	          216917279.0000000000
  63.17300	-150.39400	2.6	          216929278.0000000000
  39.30700	-123.16800	2.6	          216900212.0000000000
  40.48700	-123.96900	2.5	          216944696.0000000000
  36.14500	-117.89400	2.5	          216897402.0000000000
  61.20000	-150.20700	2.4	          216965367.0000000000
  19.97100	-155.49300	2.4	          216924572.0000000000
  39.47100	-123.10800	2.3	          216952849.0000000000
  59.79300	-151.39100	2.3	          216923036.0000000000
  61.97500	-147.34000	2.3	          216907218.0000000000
  19.26400	-155.05200	2.3	          216897968.0000000000
  60.28800	-152.80600	2.2	          216970455.0000000000
  36.13700	-117.90200	2.2	          216897382.0000000000
  19.96400	-155.69200	2.2	          216897340.0000000000
  37.32200	-122.10500	2.1	          216974883.0000000000
  61.85000	-150.10600	2.1	          216957602.0000000000
  19.97400	-155.49200	2.1	          216908882.0000000000
  32.58400	-115.77400	2.0	          216967196.0000000000
  61.45400	-146.44200	2.0	          216962329.0000000000
  19.85800	-156.06600	2.0	          216934670.0000000000
  64.06400	-147.79900	2.0	          216913257.0000000000
EOT

#  All M1-1.9 Earthquakes in the last day
#  --------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G0/175/223 \
-Jm -Ss.10 -O -K \
>> CentralBay.ps
  37.44700	-118.84200	1.9	          216975691.0000000000
  46.19500	-122.19300	1.9	          216961160.0000000000
  38.53100	-118.85900	1.9	          216937351.0000000000
  46.19600	-122.19400	1.9	          216931531.0000000000
  36.13100	-117.90700	1.9	          216928940.0000000000
  37.13000	-121.52900	1.9	          216913460.0000000000
  39.44800	-122.92600	1.9	          216908182.0000000000
  33.36500	-116.33600	1.8	          216945311.0000000000
  33.35800	-116.28300	1.8	          216945305.0000000000
  38.05000	-118.81000	1.7	          216971571.0000000000
  19.42400	-155.33700	1.7	          216971186.0000000000
  38.40900	-116.47000	1.7	          216965134.0000000000
  34.30600	-118.48500	1.7	          216960151.0000000000
  35.82700	-117.73200	1.7	          216950936.0000000000
  35.65300	-117.49500	1.7	          216930060.0000000000
  32.59600	-115.77500	1.6	          216971778.0000000000
  37.54100	-121.80600	1.6	          216953888.0000000000
  32.70000	-116.03500	1.6	          216929473.0000000000
  32.69900	-116.03600	1.6	          216929183.0000000000
  37.74000	-117.24600	1.6	          216923751.0000000000
  35.04000	-117.66900	1.6	          216908497.0000000000
  63.84400	-148.64000	1.6	          216903150.0000000000
  33.83700	-117.49900	1.6	          216900030.0000000000
  32.93400	-116.27300	1.5	          216978199.0000000000
  33.48500	-116.48100	1.5	          216965407.0000000000
  33.59700	-116.80900	1.5	          216952347.0000000000
  32.70600	-116.04800	1.5	          216940346.0000000000
  32.68900	-116.03700	1.5	          216927298.0000000000
  37.15000	-121.64000	1.5	          216925837.0000000000
  65.00100	-147.21200	1.5	          216907651.0000000000
  38.81000	-122.78600	1.5	          216905237.0000000000
  37.80400	-118.99500	1.5	          216897547.0000000000
  34.50700	-118.09500	1.5	          216896515.0000000000
  37.44500	-118.84200	1.4	          216975670.0000000000
  34.50800	-118.10500	1.4	          216949595.0000000000
  38.77300	-122.75200	1.4	          216939327.0000000000
  36.13400	-117.90400	1.4	          216911504.0000000000
  34.39900	-115.85600	1.4	          216899325.0000000000
  36.11500	-117.65800	1.3	          216949512.0000000000
  37.51700	-118.41900	1.3	          216935606.0000000000
  37.41700	-117.08200	1.3	          216932172.0000000000
  38.41600	-122.69200	1.3	          216922945.0000000000
  33.13400	-116.53100	1.3	          216911602.0000000000
  33.16400	-116.52900	1.3	          216905390.0000000000
  33.41900	-116.62100	1.3	          216901674.0000000000
  36.78400	-121.47500	1.3	          216895631.0000000000
  33.97000	-116.80000	1.2	          216954494.0000000000
  34.63200	-117.11800	1.2	          216905765.0000000000
  33.24400	-116.72500	1.1	          216968101.0000000000
  38.84600	-122.81400	1.1	          216963329.0000000000
  37.54600	-118.88200	1.1	          216922407.0000000000
  33.42300	-116.62400	1.0	          216947291.0000000000
  46.49600	-122.40400	1.0	          216922460.0000000000
  33.72200	-116.82000	1.0	          216907093.0000000000
EOT

#  All M7-7.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.90 -O -K \
>> CentralBay.ps
EOT

#  All M6-6.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.75 -O -K \
>> CentralBay.ps
EOT

#  All M5-5.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.60 -O -K \
>> CentralBay.ps
EOT

#  All M4-4.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.45 -O -K \
>> CentralBay.ps
EOT

#  All M3-3.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.30 -O -K \
>> CentralBay.ps
EOT

#  All M2-2.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.20 -O -K \
>> CentralBay.ps
EOT

#  All M1-1.9 Earthquakes in the last hour
#  ---------------------------------------
psxy << EOT -: -R -W3/0/0/0 -G255/0/24 \
-Jm -Ss.10 -O -K \
>> CentralBay.ps
EOT

#  Station labels
#  --------------
pstext << EOT -: -R -Jm -G0/0/0 -D.07/-.07 -O -K \
>> CentralBay.ps
  37.806268 -121.951759 9 0.0 1 5 3814
  37.523641 -122.491027 9 0.0 1 5 FATE
  38.137958 -121.623284 9 0.0 1 5 JAC6
  38.149197 -121.694301 9 0.0 1 5 RIOV
  38.076156 -121.830287 9 0.0 1 5 CVIL
  37.732369 -122.069240 9 0.0 1 5 CAS2
  37.724115 -122.119309 9 0.0 1 5 CHAB
  37.881853 -121.914754 9 0.0 1 5 DBLO
  37.878575 -121.915627 9 0.0 1 5 DIAB
  37.709695 -122.151228 9 0.0 1 5 EBBB
  37.697206 -123.000765 9 0.0 1 5 FARB
  37.921528 -121.792460 9 0.0 1 5 JOBE
  37.954017 -121.722396 9 0.0 1 5 MINN
  37.710529 -122.151260 9 0.0 1 5 MSLL
  37.526825 -122.456168 9 0.0 1 5 PALO
  37.954117 -121.720270 9 0.0 1 5 P300
  37.592236 -122.382155 9 0.0 1 5 PEEE
  37.815015 -122.061479 9 0.0 1 5 ROC2
  37.690824 -122.183708 9 0.0 1 5 SLBB
  37.609441 -122.458059 9 0.0 1 5 SWEE
  37.509119 -122.503902 9 0.0 1 5 WHAL
  37.652642 -122.140566 9 0.0 1 5 WINT
  37.801400 -121.953273 9 0.0 1 5 XXXX
  37.801411 -121.953283 9 0.0 1 5 XYZZ
EOT

#  Kodiak Earthquake
#  ------------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sa.15 -O -K \
>> CentralBay.ps
  56.6833     -153.3000
EOT

#  Kodiak Earthquake label
#  ------------------------
pstext << EOT -: -R -Jm -G0 -O -K \
>> CentralBay.ps
57.0 -153.2 9 0.0 1 5 Kodiak_Eq_20010110
56.8 -153.2 9 0.0 1 5 M6.7
EOT

#  Kodiak Earthquake
#  ------------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sa.15 -O -K \
>> CentralBay.ps
  57.51     -154.67
EOT

#  Kodiak Earthquake label
#  ------------------------
pstext << EOT -: -R -Jm -G0 -O -K \
>> CentralBay.ps
57.4 -154.3 9 0.0 1 5 Kodiak_Eq_19991206
57.2 -154.3 9 0.0 1 5 M7.0
EOT

#  Velocity vectors
#  ----------------
psvelo << EOT -R \
-W1/255/0/63 -G70/100/190 \
-Se0.0265181649429859/.95/0 -B  \
-Jm -A0.01/0.12/0.03 -O -K \
>> CentralBay.ps
-121.951759	  37.806268	-15.43	 14.12	  0.95	  0.76	  0.0188	3814
-122.491027	  37.523641	  0.00	  0.00	  0.00	  0.00	 -0.0301	FATE
-121.623284	  38.137958	-35.89	  4.72	  3.71	  2.62	  0.1047	JAC6
-121.694301	  38.149197	 -8.63	  2.67	  3.93	  2.66	 -0.0155	RIOV
-121.830287	  38.076156	 -5.97	  9.72	  2.23	  1.62	  0.0227	CVIL
-122.069240	  37.732369	-15.98	 17.06	  0.67	  0.49	  0.0234	CAS2
-122.119309	  37.724115	-15.93	 19.03	  0.39	  0.36	  0.0045	CHAB
-121.914754	  37.881853	-12.53	 12.20	  0.70	  0.52	  0.0161	DBLO
-121.915627	  37.878575	-12.23	 11.55	  0.52	  0.46	 -0.0360	DIAB
-122.151228	  37.709695	-16.73	 16.72	  4.82	  3.64	  0.0631	EBBB
-123.000765	  37.697206	-27.38	 37.71	  0.45	  0.41	  0.0090	FARB
-121.792460	  37.921528	-11.92	  8.54	  0.70	  0.49	  0.0218	JOBE
-121.722396	  37.954017	-11.77	  8.81	  0.68	  0.49	  0.0208	MINN
-122.151260	  37.710529	-18.06	 23.64	  0.96	  0.78	  0.0417	MSLL
-122.456168	  37.526825	-26.26	 33.23	  0.95	  0.75	  0.0263	PALO
-121.720270	  37.954117	-12.14	 11.06	  1.32	  1.02	  0.0199	P300
-122.382155	  37.592236	-21.78	 29.67	  0.80	  0.65	  0.1078	PEEE
-122.061479	  37.815015	-14.60	 16.05	  0.78	  0.63	  0.0489	ROC2
-122.183708	  37.690824	-18.70	 23.92	  0.78	  0.63	  0.0365	SLBB
-122.458059	  37.609441	-23.60	 31.84	  0.72	  0.59	  0.0268	SWEE
-122.503902	  37.509119	-26.95	 34.40	  0.75	  0.61	  0.0369	WHAL
-122.140566	  37.652642	-19.48	 22.77	  0.42	  0.38	  0.0152	WINT
-121.953273	  37.801400	  0.00	  0.00	  0.00	  0.00	  0.0000	XXXX
-121.953283	  37.801411	 21.46	 16.81	  2.95	  2.41	  0.0752	XYZZ
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.806268	-121.951759	3814
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.523641	-122.491027	FATE
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  38.137958	-121.623284	JAC6
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  38.149197	-121.694301	RIOV
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  38.076156	-121.830287	CVIL
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.732369	-122.069240	CAS2
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.724115	-122.119309	CHAB
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.881853	-121.914754	DBLO
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.878575	-121.915627	DIAB
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.709695	-122.151228	EBBB
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.697206	-123.000765	FARB
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.921528	-121.792460	JOBE
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.954017	-121.722396	MINN
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.710529	-122.151260	MSLL
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.526825	-122.456168	PALO
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.954117	-121.720270	P300
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.592236	-122.382155	PEEE
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.815015	-122.061479	ROC2
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.690824	-122.183708	SLBB
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.609441	-122.458059	SWEE
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.509119	-122.503902	WHAL
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.652642	-122.140566	WINT
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.801400	-121.953273	XXXX
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W2/0/0/0 -G255/0/0 \
-Jm -Sc0.07 -O -K \
>> CentralBay.ps
  37.801411	-121.953283	XYZZ
EOT

#  Olympia Earthquake
#  ------------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sa.15 -O -K \
>> CentralBay.ps
  47.167 -122.733
EOT

#  HM Earthquake
#  -------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sa.15 -O -K \
>> CentralBay.ps
  34.595500     -116.268167
EOT

#  HM Earthquake label
#  --   --------------
pstext << EOT -: -R -Jm -G0 -O -K \
>> CentralBay.ps
34.55 -116.268167 9 0.0 1 5 Hector_Mine_Eq
34.53 -116.268167 9 0.0 1 5 M7.1
EOT

#  Landers Earthquake
#  ------------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sa.15 -O -K \
>> CentralBay.ps
  34.216666667     -116.43333333333
EOT

#  Landers Earthquake label
#  ------------------------
pstext << EOT -: -R -Jm -G0 -O -K \
>> CentralBay.ps
34.18 -116.43333333333 9 0.0 1 5 Landers_Eq
34.16 -116.43333333333 9 0.0 1 5 M7.3
EOT

#  Label plot and vector scale
#  ---------------------------
psvelo << EOT -: -R \
-W1/255/0/0 -G70/100/190 -Se0.0265181649429859/.95/0 -B  \
-Jm -A0.03/0.12/0.03 -O -K \
>> CentralBay.ps
37.27869092 -122.940765 0.0 20.0 0.0 0.0 0.0 Scale
EOT
pstext << EOT -: -R -Jm -O \
>> CentralBay.ps
37.23068507 -122.940765 9 0.0 0 5 20 mm/yr 
EOT