fig.gp (1769B)
1 #!/usr/bin/env gnuplot 2 reset 3 4 set terminal pdfcairo color size 4.35 cm, 6 cm font ",10" 5 6 set multiplot layout 2,1 \ 7 margins 0.30,0.93,0.15,0.87 \ 8 spacing 0.03,0.04 9 10 set xrange [0:200] 11 set x2range [200:0] 12 set x2tics 50 nomirror 13 set xtics format "" 14 set yrange [0:80] 15 set x2label "{/:Normal Water pressure [kPa]}" 16 set ylabel "{/:Normal Shear stress [kPa]}" offset -1.4 17 set ytics 20 18 set arrow from 125,35 to 160,45 head 19 set arrow from 150,70 to 110,55 head 20 unset label 21 #set label "{/:Bold d}" at graph 0.02,0.93 22 set label "a" at graph 0.02,0.93 font ",12" 23 plot \ 24 "timeseries_combined.txt" u ($2/1000):($4*$2/1000) w l lt 1 lc rgb "#48d1cc" t "" 25 26 unset x2tics 27 unset ytics 28 unset x2label 29 unset ylabel 30 #set ylabel "{/:Normal Depth of max.\nstrain rate [m]}" offset 1.0 31 #set yrange [2.5:-0.1] 32 #set ytics 0.5 33 #unset arrow 34 #set arrow from 140,0.15 to 110,0.13 head 35 #set arrow from 80,0.6 to 115,1.2 head 36 #set arrow from 170,1.4 to 170.3,0.6 head 37 #unset label 38 ##set label "{/:Bold e}" at graph 0.02,0.93 font ",12" 39 #set label "B" at graph 0.02,0.93 font ",12" 40 #plot "" u ($2/1000):(8.0 - $6) w l lt 4 lc rgb "#87cefa" t "" 41 42 set xtics format "%g" 43 set xlabel "{/:Normal Eff. normal stress [kPa]}" 44 to_year=60*60*24*365 45 #set ytics 3e-5*to_year 46 #set yrange [0:1e-4*to_year] 47 set ytics 1000 48 set yrange [0:3000] 49 unset arrow 50 set arrow from 135,1.5e-5*to_year to 100,1e-5*to_year head 51 set arrow from 110,4.0e-5*to_year to 140,5.5e-5*to_year head 52 set arrow from 165.3,4e-5*to_year to 165,1.5e-5*to_year head 53 unset y2tics 54 unset y2label 55 unset label 56 #set label "{/:Bold f}" at graph 0.02,0.93 57 set label "b" at graph 0.02,0.93 font ",12" 58 #set ylabel "{/:Normal Specific sediment flux [m^2/s]}" 59 set ylabel "{/:Normal Till flux [m^2/a]}" offset 0.6 60 plot "" u ($2/1000):($8*to_year) w l lt 6 t ""