commit 0ef95571e3694da55a7604ac0488ae640931cbbb
parent af60fb244675fea0643a13f5e0a82a839c2352d8
Author: Ivan Gankevich <igankevich@ya.ru>
Date: Sat, 29 Oct 2016 23:34:51 +0300
Fix graph labels.
Diffstat:
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/gnuplot/quantile.gnuplot b/gnuplot/quantile.gnuplot
@@ -1,16 +1,16 @@
#!/usr/bin/gnuplot -persist
-set xlabel 'Expected' offset 0,0.5
-set ylabel 'Estimated' offset 1.5,0
+set xlabel 'Expected' offset 0,0.5 font 'Old Standard, 12'
+set ylabel 'Estimated' offset 1.5,0 font 'Old Standard, 12'
unset key
set style line 1 lt 1 lc rgb "#202D9F" lw 2 pt 6
set style line 2 lt 1 lc rgb "#404040" lw 2
-set terminal outext size sx,sy font 'serif, 12'
+set terminal outext size sx,sy font 'Old Standard, 12'
set output infile . '.' . outext
#set size ratio -1
-set label infile[start_index:*] at graph 0.1,0.9
+set label labelText at graph 0.1,0.9 font 'Old Standard, 12'
plot infile with points ls 1, x with lines ls 2
diff --git a/phd-diss.org b/phd-diss.org
@@ -372,7 +372,7 @@ ACFs and quantile-quantile plots of wave characteristics distributions are shown
in fig. [[fig:acf-plots]], [[fig:standing-wave-distributions]],
[[fig:propagating-wave-distributions]].
-#+begin_src gnuplot :exports none
+#+begin_src gnuplot :exports none :output-dir build
# set absolute loadpath and go to build directory
set loadpath GPVAL_PWD."/gnuplot" GPVAL_PWD."/data/verification"
system "mkdir -p build"
@@ -402,21 +402,23 @@ sx=250
sy=250
outext='svg'
# Standing waves
-start_index=15
do for [i in "elevation wave-height-x wave-length-x wave-period"] {
reset
+ show loadpath
+ labelText=i
infile="standing-" . i
load "quantile.gnuplot"
system "inkscape --without-gui --export-eps=" . infile . ".eps " . infile . ".svg"
}
# Propagating waves
-start_index=18
do for [i in "elevation wave-height-x wave-length-x wave-period"] {
reset
+ labelText=i
infile="propagating-" . i
load "quantile.gnuplot"
system "inkscape --without-gui --export-eps=" . infile . ".eps " . infile . ".svg"
}
+exit
#+end_src
#+RESULTS: