commit 7ec3eef89b0a01f91498a9e648b03e817b4dee67
parent 6e66517617cef7a008e6d5e3f2dcabb161aadc89
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 7 Jul 2019 10:49:54 +0200
Add deformation depth to timeseries plot, set line colors from line type
Diffstat:
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/fig2/fig.gp b/fig2/fig.gp
@@ -9,30 +9,37 @@ set terminal pdfcairo color size 7.5 cm, 8.0 cm
set multiplot layout 3,1 \
- margins 0.19,0.95,0.23,0.95 \
+ margins 0.19,0.85,0.23,0.95 \
spacing 0.03,0.03
unset xlabel
unset xtics
-set yrange [0:210]
-set ylabel "Stress [kPa]"
+set yrange [0:270]
+set ylabel "[kPa]"
plot \
"timeseries.txt" u ($0/1008*7):($2/1000) w l lw 2 lc "black" t "effective normal stress", \
-"" u ($0/1008*7):($3/1000) w l lw 2 lc "blue" dt "-" t "water pressure"
+"" u ($0/1008*7):($3/1000) w l lw 2 lt 3 dt "-" t "water pressure"
#set xtics
unset xtics
+unset ylabel
#unset yrange
-set yrange [0:7.5]
-#set xlabel "Time [d]"
-set ylabel "Shear velocity [km/d]"
-plot "" u ($0/1008*7):($1*60*60*24/1000) w l lw 2 lc "red" t ""
+unset ytics
+set yrange [0:6.0]
+set y2range [0:6.0]
+set y2tics
+set y2label "Shear velocity [km/d]"
+plot "" u ($0/1008*7):($1*60*60*24/1000) w l lw 2 lt 7 t ""
set xtics
#unset yrange
+unset y2label
+unset y2tics
+set ytics
#set yrange [0:2]
+set yrange [1.4:0.0]
set xlabel "Time [d]"
-set ylabel "Depth of max. deformation [m]"
-plot "max_strainrate_depth.txt" u ($0/1008*7):(2.0 - $1) w l lw 2 lc "black" t ""
+set ylabel "Depth of max. strain rate [m]"
+plot "max_strainrate_depth.txt" u ($0/1008*7):(8.0 - $1) w l lw 2 lt 4 t ""
unset multiplot
diff --git a/fig3/fig.gp b/fig3/fig.gp
@@ -15,4 +15,4 @@ set xlabel "Effective normal stress [kPa]"
set x2label "Water pressure [kPa]" tc lt 3
set ylabel "Shear velocity [km/d]"
plot \
-"timeseries.txt" u ($2/1000):($1*60*60*24/1000) w l lc "red" t ""
+"timeseries.txt" u ($2/1000):($1*60*60*24/1000) w l lt 7 t ""