Permalink
Browse files

update all figures

  • Loading branch information...
1 parent fa19c3c commit 019f7a998c3871c14a530d9aaebb2199d2926728 @seisman committed Nov 17, 2015
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
@@ -5,101 +5,57 @@ fg seis
w seis.SAC
q
EOF
-gmtset TICK_LENGTH -0.3c
-gmtset GRID_PEN_PRIMARY 0.3p,black,-
-gmtset HEADER_FONT_SIZE 10p
-gmtset LABEL_FONT_SIZE 10p
-gmtset LABEL_OFFSET 0c
J=X15.4c/11.9c
R=9.2/19.8/-1.63/1.6
B=a2f0.5g2:"Time(s)":/a1f0.25g1WeS:"Amplitude":
PS=appearance.ps
-psxy -J$J -R$R -T -K > $PS
-
-psxy -J$J -R$R -Bn -T -K -O >> $PS
+gmtset TICK_LENGTH -0.3c
+gmtset GRID_PEN_PRIMARY 0.3p,black,-
+gmtset HEADER_FONT_SIZE 10p HEADER_OFFSET 0.2c
+gmtset LABEL_FONT_SIZE 10p LABEL_OFFSET 0c
-pstext -J$J -R$R -N -Wwhite,o0.5p,black -C8p -K -O >> $PS << EOF
-19.52 -1.515 10 0 0 CM 2
-EOF
+# Plot top axes only
+psbasemap -J$J -R$R -Bn -K > $PS
+# Plot traces, xlabel, ylabel, ticks, annotations and grids
pssac -J$J -R$R -B$B:."Seismic Trace": seis.SAC -W0.3p -K -O >> $PS
+
+# time marker
psxy -J$J -R$R -K -O -W0.5p >> $PS << EOF
10.464 1.5
10.464 -1.5
EOF
-pstext -J$J -R$R -K -O >> $PS << EOF
-10.6 -1.4 15 0 0 CM A
-EOF
-
-pstext -J$J -R$R -K -O -N -Gblue -D-1.5c/-1.5cv1p,blue >> $PS << EOF
-10.4 -1.48 15 0 8 CT PICKS
-EOF
+echo 10.7 -1.4 15 0 0 CM A | pstext -J$J -R$R -K -O >> $PS
-pstext -J$J -R$R -N -K -O >> $PS << EOF
-20 -2 15 0 0 CM 1
-EOF
+# qdp factor
+echo 19.52 -1.515 10 0 0 CM 2 | pstext -J$J -R$R -N -Wwhite,o0.5p,black -C8p -K -O >> $PS
+# fileid
pstext -J$J -R$R -K -O >> $PS << EOF
-17.4 1.5 10 0 0 LT KB108838
+17.4 1.5 10 0 0 LT K8108838
17.4 1.4 10 0 0 LT CDV VERT
17.4 1.3 10 0 0 LT MAR 29 (088), 1981
17.4 1.2 10 0 0 LT 10:38:14.000
EOF
-# TITLE
-pstext -J$J -R$R -N -K -O -D2c/0.5cv1p,blue -Gblue >> $PS << EOF
-14.5 1.8 15 0 8 LB TITLE
-EOF
-
-# FILEID
-pstext -J$J -R$R -N -K -O -D2c/0cv1p,blue -Gblue >> $PS << EOF
-19. 1.45 15 0 8 LM FILEID
-EOF
+# fileno
+echo 20 -2 15 0 0 CM 1 | pstext -J$J -R$R -N -K -O >> $PS
-# QDP
-pstext -J$J -R$R -N -K -O -D-0.5c/0.5cv1p,blue -Gblue >> $PS << EOF
-19.2 -1.40 15 0 8 CB QDP
-EOF
-
-# filenumber
-pstext -J$J -R$R -N -K -O -D-1c/0cv1p,blue -Gblue >> $PS << EOF
-19.9 -2.00 15 0 8 RM FILENO
-EOF
-
-# xlabel
-pstext -J$J -R$R -N -K -O -D0c/-0.5cv1p,blue -Gblue >> $PS << EOF
-14.5 -1.95 15 0 8 CT XLABEL
-EOF
-
-# ylabel
-pstext -J$J -R$R -N -K -O -D0c/-1.5cv1p,blue -Gblue >> $PS << EOF
-8.4 -0.25 15 0 8 CT YLABEL
-EOF
-
-# axes
-pstext -J$J -R$R -N -K -O -D0c/-1cv1p,blue -Gblue >> $PS << EOF
-11 -1.65 15 0 8 CT AXES
-EOF
-
-# ticks
-pstext -J$J -R$R -N -K -O -D1c/0cv1p,blue -Gblue >> $PS << EOF
-19.9 0 15 90 8 CT TICKS
-EOF
-
-# border
-pstext -J$J -R$R -N -K -O -D0c/1cv1p,blue -Gblue >> $PS << EOF
-12 1.62 15 0 8 CB BORDER
-EOF
-
-# grid
-pstext -J$J -R$R -N -K -O -D1c/0cv1p,blue -Gblue >> $PS << EOF
-16 0.5 15 0 8 LM GRID
-EOF
+# annotations
+echo 10.4 -1.48 15 0 8 CT PICKS | pstext -J$J -R$R -K -O -N -Gblue -D-1.5c/-1.5cv1p,blue >> $PS
+echo 14.5 1.75 15 0 8 LM TITLE | pstext -J$J -R$R -N -K -O -D2c/0.5cv1p,blue -Gblue >> $PS
+echo 19. 1.35 15 0 8 LM FILEID | pstext -J$J -R$R -N -K -O -D2c/0cv1p,blue -Gblue >> $PS
+echo 19.2 -1.40 15 0 8 CB QDP | pstext -J$J -R$R -N -K -O -D-0.5c/0.5cv1p,blue -Gblue >> $PS
+echo 19.9 -2.00 15 0 8 RM FILENO | pstext -J$J -R$R -N -K -O -D-1c/0cv1p,blue -Gblue >> $PS
+echo 14.5 -1.95 15 0 8 CT XLABEL | pstext -J$J -R$R -N -K -O -D0c/-0.5cv1p,blue -Gblue >> $PS
+echo 8.4 -0.25 15 0 8 CT YLABEL | pstext -J$J -R$R -N -K -O -D0c/-1.5cv1p,blue -Gblue >> $PS
+echo 11 -1.65 15 0 8 CT AXES | pstext -J$J -R$R -N -K -O -D0c/-1cv1p,blue -Gblue >> $PS
+echo 19.9 0 15 0 8 LM TICKS | pstext -J$J -R$R -N -K -O -D1c/0cv1p,blue -Gblue >> $PS
+echo 12 1.62 15 0 8 CB BORDER | pstext -J$J -R$R -N -K -O -D0c/1cv1p,blue -Gblue >> $PS
+echo 16 0.5 15 0 8 LM GRID | pstext -J$J -R$R -N -K -O -D1c/0cv1p,blue -Gblue >> $PS
psxy -J$J -R$R -T -O >> $PS
-rm .gmt*
-
ps2raster -A -P -Tf $PS
-rm $PS seis.SAC
+rm $PS seis.SAC .gmt*
View
@@ -3,33 +3,32 @@ PS=az-baz.ps
R=110/150/10/50
J=B130/20/50/55/15c
-gmt set MAP_FRAME_TYPE plain MAP_GRID_PEN_PRIMARY = 2p,gray
-gmt psxy -R$R -J$J -K -T > $PS
-gmt psbasemap -R$R -J$J -Bag20 -BZ -K -O >> $PS
-gmt psxy -R -J -Sc0.4c -Gred -K -O >> $PS << EOF
+gmtset BASEMAP_TYPE plain GRID_PEN_PRIMARY 2p,gray
+psbasemap -R$R -J$J -Bg20z -K > $PS
+psxy -R -J -Sc0.4c -Gred -K -O >> $PS << EOF
120 20
140 20
120 40
140 40
EOF
-gmt psxy -R$R -J$J -W2p,red,- -K -O >> $PS << EOF
+psxy -R$R -J$J -W2p,red,- -K -O >> $PS << EOF
120 20
140 40
EOF
-gmt psxy -R$R -J$J -Sm0.4c+b -Gred -W1p,red -K -O >> $PS << EOF
-120 20 1 40 83
-140 40 1.0 -130 98
+psxy -R$R -J$J -Smf2c -Gred -W1p,red -K -O >> $PS << EOF
+120 20 40 83
+140 40 -130 98
EOF
-gmt pstext -R$R -J$J -F+f -N -K -O >> $PS << EOF
-121.5 25 15p Az
-144 43 15p Baz
-121 18 15p Epicenter
-136 40 15p Station
-120 9 15p @~\154@~@-e@-
-140 9 15p @~\154@~@-s@-
-109 20 15p @~\146@~@-e@-
-108 40 15p @~\146@~@-s@-
+pstext -R$R -J$J -N -K -O >> $PS << EOF
+121.5 25 15 0 0 CM Az
+144 43 15 0 0 CM Baz
+121 18 15 0 0 CM Epicenter
+136 40 15 0 0 CM Station
+120 9 15 0 0 CM @~\154@~@-e@-
+140 9 15 0 0 CM @~\154@~@-s@-
+109 20 15 0 0 CM @~\146@~@-e@-
+108 40 15 0 0 CM @~\146@~@-s@-
EOF
-gmt psxy -R$R -J$J -T -O >> $PS
-gmt ps2raster -A -P -Tf az-baz.ps
-rm gmt.* az-baz.ps
+psxy -R$R -J$J -T -O >> $PS
+ps2raster -A -P -Tf az-baz.ps
+rm .gmt* az-baz.ps
@@ -24,5 +24,5 @@ endframe
saveimg composite-plot.ps
q
EOF
-ps2raster -A -P -Tf composite-plot.ps
+ps2raster -A -Tf composite-plot.ps
rm composite-plot.ps
@@ -1,15 +1,15 @@
#!/bin/bash
PS=viewspace-viewport.ps
-gmt psbasemap -R0/1/0/1 -JX22c/17c -BWSEN+glavender -K > $PS
-echo 0.1 0.1 window | gmt pstext -R -J -F+f20p -K -O >> $PS
-gmt psbasemap -R0/1/0/1 -JX18c/13c -BWSEN+gslategray2 -K -O -Xf5c -Yf5c >> $PS
-echo 0.12 0.05 viewspace | gmt pstext -R -J -F+f20p -K -O >> $PS
-gmt psbasemap -R0/1/0/1 -JX7c/5c -BWSEN+glightskyblue3 -K -O -Xf6c -Yf6.5c >> $PS
-echo 0.2 0.1 viewport | gmt pstext -R -J -F+f20p -K -O >> $PS
-gmt psbasemap -R0/1/0/1 -JX8c/5c -BWSEN+glightskyblue3 -K -O -Xf14c -Yf6.5c >> $PS
-echo 0.2 0.1 viewport | gmt pstext -R -J -F+f20p -K -O >> $PS
-gmt psbasemap -R0/1/0/1 -JX16c/5c -BWSEN+glightskyblue3 -K -O -Xf6c -Yf12c >> $PS
-echo 0.1 0.1 viewport | gmt pstext -R -J -F+f20p -K -O >> $PS
-gmt psxy -R -J -T -O >> $PS
-gmt ps2raster -A -P -Tf $PS
-rm gmt.* $PS
+psbasemap -R0/1/0/1 -JX22c/17c -Glavender -K > $PS
+echo 0.1 0.1 20 0 0 CM window | pstext -R -J -K -O >> $PS
+psbasemap -R0/1/0/1 -JX18c/13c -Gslategray2 -K -O -X2.5c -Y2.5c >> $PS
+echo 0.12 0.05 20 0 0 CM viewspace | pstext -R -J -K -O >> $PS
+psbasemap -R0/1/0/1 -JX7c/5c -Glightskyblue3 -K -O -X1c -Y1.5c >> $PS
+echo 0.2 0.1 20 0 0 CM viewport | pstext -R -J -K -O >> $PS
+psbasemap -R0/1/0/1 -JX8c/5c -Glightskyblue3 -K -O -X8c >> $PS
+echo 0.2 0.1 20 0 0 CM viewport | pstext -R -J -K -O >> $PS
+psbasemap -R0/1/0/1 -JX16c/5c -Glightskyblue3 -K -O -X-8c -Y5.5c >> $PS
+echo 0.1 0.1 20 0 0 CM viewport | pstext -R -J -K -O >> $PS
+psxy -R -J -T -O >> $PS
+ps2raster -A -P -Tf $PS
+rm .gmt* $PS

0 comments on commit 019f7a9

Please sign in to comment.