commit af60fb244675fea0643a13f5e0a82a839c2352d8
parent 95628baedf66a5ab1801bf73bfd0af5fc6d0cd9f
Author: Ivan Gankevich <igankevich@ya.ru>
Date: Sat, 29 Oct 2016 23:04:17 +0300
Produce figures in scratch directory.
Diffstat:
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+build
diff --git a/phd-diss.org b/phd-diss.org
@@ -373,7 +373,10 @@ in fig. [[fig:acf-plots]], [[fig:standing-wave-distributions]],
[[fig:propagating-wave-distributions]].
#+begin_src gnuplot :exports none
-set loadpath "./gnuplot" "./data/verification"
+# set absolute loadpath and go to build directory
+set loadpath GPVAL_PWD."/gnuplot" GPVAL_PWD."/data/verification"
+system "mkdir -p build"
+cd "build"
# ACFs of standing and propagating waves
sx=300
diff --git a/preamble.tex b/preamble.tex
@@ -23,3 +23,6 @@
\raggedbottom
\clubpenalty=10000
\widowpenalty=10000
+
+% automatically find figures from build directory
+\graphicspath{{build/}}