Skip to content

Commit f44ba3a

Browse files
author
Einar Kjartansson
committed
Added files for figures
1 parent f00bc3a commit f44ba3a

10 files changed

+64
-0
lines changed

hmE2011-conv.pdf

15.5 KB
Binary file not shown.

hmE2011-map.pdf

111 KB
Binary file not shown.

hmE2011-vel.pdf

8.71 KB
Binary file not shown.

skeidF-conv.pdf

16.1 KB
Binary file not shown.

skeidF-map.pdf

223 KB
Binary file not shown.

skeidF-vel.pdf

8.87 KB
Binary file not shown.

sl2007-conv.pdf

18.1 KB
Binary file not shown.

sl2007-map.pdf

1.14 MB
Binary file not shown.

sl2007-vel.pdf

8.9 KB
Binary file not shown.

tp.sh

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#!/bin/bash
2+
3+
n=`basename $0 .sh`
4+
#o=$n.eps
5+
t=`echo $n | tr '_' ' ' `
6+
v=gplot.vel
7+
8+
cat <<EOF > gplot.vel
9+
0.00 3.53
10+
1.00 4.47
11+
2.00 5.16
12+
3.00 5.60
13+
4.00 5.96
14+
6.00 6.50
15+
9.00 6.73
16+
20.00 7.20
17+
32.00 7.40
18+
90.00 8.00
19+
0 0
20+
EOF
21+
22+
cat <<EOF > gplot.input
23+
#set terminal svg size 1400,500 font ",24"
24+
#set terminal latex size 1400,500 font ",24"
25+
set terminal pdf size 17cm,4cm
26+
set output "tp.pdf"
27+
set grid
28+
set yrange[10:0]
29+
set xrange [0:50]
30+
set size ratio -1
31+
#set title "$t"
32+
set xlabel "velocity (km/s) - distance (km)"
33+
set ylabel "depth (km)"
34+
set y2tics 0.25
35+
set xtics 5
36+
set y2label "reduced travel time (s)"
37+
set link y2 via y/8.0 inverse y*8.0
38+
set font ",20"
39+
unset key
40+
plot \\
41+
EOF
42+
l="with lines"
43+
44+
rm -f rays
45+
i="1.55"
46+
while [ $i != "7.05" ]
47+
do
48+
f=depth_${i}_km
49+
rayplot -P $v -d 0.05 -b $i -n 170 -r j.ray
50+
cat j.ray >> rays
51+
echo >> gplot.rays
52+
i=`echo $i + 0.1 | bc`
53+
done
54+
55+
echo "\"rays\" $l, \\" >> gplot.input
56+
57+
awk ' { print $2,$1 } ' dump.vel > velocity
58+
#cp dump.vel velocity
59+
60+
travelt -f $v -r 170 0.05 -d 0.0 -n 1300 -v 6.5 -b $i -o jj
61+
echo \"jj\" axes x1y2 $l , \\ >> gplot.input
62+
echo \"sil.vel\" $l >> gplot.input
63+
gnuplot < gplot.input
64+

0 commit comments

Comments
 (0)