commit a9295c421e3cbcfa0f57e91e889a47f968ceb1fa
parent 4eaf14a0a06f01b3c5a2b9a49f30c9a23620e2a0
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 10 May 2019 16:06:58 -0700
Save diurnal time series as PDF
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -13,7 +13,7 @@ plots: 1d_fd_simple_shear.png \
1d_fd_simple_shear_rheology_kamb.png \
1d_fd_simple_shear_rheology_iverson.png \
1d_fd_simple_shear_rheology_tulaczyk.png \
- diurnal.timeseries.png
+ diurnal.timeseries.pdf
diurnal.mp4: diurnal.output00000.txt.png
ffmpeg -i diurnal.output%05d.txt.png -y diurnal.mp4
@@ -34,7 +34,7 @@ diurnal.timeseries.txt: diurnal.output00000.txt
tail -n 1 "$$f" | cut -f2- >> $@; \
done'
-diurnal.timeseries.png: diurnal.timeseries.gp diurnal.timeseries.txt
+diurnal.timeseries.pdf: diurnal.timeseries.gp diurnal.timeseries.txt
gnuplot $< > $@
diurnal.gif: diurnal.mp4
diff --git a/diurnal.timeseries.gp b/diurnal.timeseries.gp
@@ -1,6 +1,6 @@
#!/usr/bin/env gnuplot
-set terminal pngcairo color size 18.6 cm, 10.0 cm
+set terminal pdfcairo color size 10.0 cm, 5.0 cm
set xlabel "Time, t [d]"
set ylabel "Shear velocity, v [km/d]" offset 2