#!/bin/csh

#  Draw basemap
#  ------------
pscoast -Jm5.5586811439429 -R-116.9111324/-115.8425336/36.354518/37.458115 \
-Ba1.0f10mwSnE \
-W3/0/0/0 -Na/1 -S153/255/255 \
-Df -Ir/1/114/187/243 \
-Lf-116.613666/36.55015565/36.55015565/40 \
-G230/225/200 -P -K >! shosh.ps

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

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

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

#  Velocity vectors
#  ----------------
psvelomeca << EOT -R \
-W1/255/0/63 -G70/100/190 \
-Se0.0333333333333333/.95/0 -B  \
-Jm -A0.01/0.12/0.03 -O -K \
>> shosh.ps
-116.673666	36.843018	0.00	0.00	0.00	0.00	0.0000	shosh bare    
-116.634251	36.958996	0.00	0.00	0.00	0.00	0.0000	shosh brick   
-116.175121	36.776084	0.00	0.00	0.00	0.00	0.0000	shosh cane    
-116.176389	36.776111	0.00	0.00	0.00	0.00	0.0000	shosh cane 5  
-116.468444	36.837722	0.00	0.00	0.00	0.00	0.0000	shosh mile    
-116.139167	36.993958	0.00	0.00	0.00	0.00	0.0000	shosh mine    
-116.080000	36.940278	0.00	0.00	0.00	0.00	0.0000	shosh pass    
-116.262015	36.722897	0.00	0.00	0.00	0.00	0.0000	shosh rock    
-116.537844	36.696953	0.00	0.00	0.00	0.00	0.0000	shosh roses   
-116.260234	36.943416	0.00	0.00	0.00	0.00	0.0000	shosh shoshone
-116.179727	36.655499	0.00	0.00	0.00	0.00	0.0000	shosh specter 
-116.667574	37.157134	0.00	0.00	0.00	0.00	0.0000	shosh thirsty 
-116.460105	37.087716	0.00	0.00	0.00	0.00	0.0000	shosh timber  
-116.322484	36.781414	0.00	0.00	0.00	0.00	0.0000	shosh wahomie 
-116.328633	36.667228	0.00	0.00	0.00	0.00	0.0000	shosh well    
-116.484123	36.940255	0.00	0.00	0.00	0.00	0.0000	shosh yucca   
EOT

#  Station dots
#  ------------
psxy << EOT -: -R -W5/51/51/255 -G255/255/255 \
-Jm -Sc0.07 -O -K \
>> shosh.ps
36.843018	-116.673666
36.958996	-116.634251
36.776084	-116.175121
36.776111	-116.176389
36.837722	-116.468444
36.993958	-116.139167
36.940278	-116.080000
36.722897	-116.262015
36.696953	-116.537844
36.943416	-116.260234
36.655499	-116.179727
37.157134	-116.667574
37.087716	-116.460105
36.781414	-116.322484
36.667228	-116.328633
36.940255	-116.484123
EOT

#  Geodolite Lines
#  ---------------
psxy << EOT -: -R -W5/255/51/51 -MS \
-Jm -O \
>> shosh.ps
SEGMENT
36.843018   -116.673666   shosh bare    
36.958996   -116.634251   shosh brick   
SEGMENT
36.843018   -116.673666   shosh bare    
36.837722   -116.468444   shosh mile    
SEGMENT
36.843018   -116.673666   shosh bare    
36.696953   -116.537844   shosh roses   
SEGMENT
36.958996   -116.634251   shosh brick   
36.837722   -116.468444   shosh mile    
SEGMENT
36.958996   -116.634251   shosh brick   
37.157134   -116.667574   shosh thirsty 
SEGMENT
36.958996   -116.634251   shosh brick   
37.087716   -116.460105   shosh timber  
SEGMENT
36.958996   -116.634251   shosh brick   
36.940255   -116.484123   shosh yucca   
SEGMENT
36.776084   -116.175121   shosh cane    
36.837722   -116.468444   shosh mile    
SEGMENT
36.776084   -116.175121   shosh cane    
36.940278   -116.080000   shosh pass    
SEGMENT
36.776084   -116.175121   shosh cane    
36.943416   -116.260234   shosh shoshone
SEGMENT
36.776084   -116.175121   shosh cane    
36.655499   -116.179727   shosh specter 
SEGMENT
36.776111   -116.176389   shosh cane 5  
36.943416   -116.260234   shosh shoshone
SEGMENT
36.776111   -116.176389   shosh cane 5  
36.781414   -116.322484   shosh wahomie 
SEGMENT
36.837722   -116.468444   shosh mile    
36.696953   -116.537844   shosh roses   
SEGMENT
36.837722   -116.468444   shosh mile    
36.943416   -116.260234   shosh shoshone
SEGMENT
36.837722   -116.468444   shosh mile    
36.781414   -116.322484   shosh wahomie 
SEGMENT
36.837722   -116.468444   shosh mile    
36.667228   -116.328633   shosh well    
SEGMENT
36.837722   -116.468444   shosh mile    
36.940255   -116.484123   shosh yucca   
SEGMENT
36.993958   -116.139167   shosh mine    
36.943416   -116.260234   shosh shoshone
SEGMENT
36.940278   -116.080000   shosh pass    
36.943416   -116.260234   shosh shoshone
SEGMENT
36.722897   -116.262015   shosh rock    
36.655499   -116.179727   shosh specter 
SEGMENT
36.722897   -116.262015   shosh rock    
36.781414   -116.322484   shosh wahomie 
SEGMENT
36.722897   -116.262015   shosh rock    
36.667228   -116.328633   shosh well    
SEGMENT
36.696953   -116.537844   shosh roses   
36.781414   -116.322484   shosh wahomie 
SEGMENT
36.696953   -116.537844   shosh roses   
36.667228   -116.328633   shosh well    
SEGMENT
36.943416   -116.260234   shosh shoshone
37.087716   -116.460105   shosh timber  
SEGMENT
36.943416   -116.260234   shosh shoshone
36.781414   -116.322484   shosh wahomie 
SEGMENT
36.943416   -116.260234   shosh shoshone
36.940255   -116.484123   shosh yucca   
SEGMENT
36.655499   -116.179727   shosh specter 
36.667228   -116.328633   shosh well    
SEGMENT
36.781414   -116.322484   shosh wahomie 
36.940255   -116.484123   shosh yucca   
SEGMENT
EOT