summaryrefslogtreecommitdiff
path: root/plot.gnu
diff options
context:
space:
mode:
Diffstat (limited to 'plot.gnu')
-rw-r--r--plot.gnu16
1 files changed, 8 insertions, 8 deletions
diff --git a/plot.gnu b/plot.gnu
index 859a6ab..249693b 100644
--- a/plot.gnu
+++ b/plot.gnu
@@ -1,14 +1,14 @@
set term x11 persist
-exp_keff = system("cat results/explicit.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '+' -f 1 | sed 's/ //g'")
-exp_pm = system("cat results/explicit.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '-' -f 2 | sed 's/ //g'")
-exp_ppm = exp_keff+exp_pm
-exp_mpm = exp_keff-exp_pm
+exp_keff=real(system("cat results/explicit.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '+' -f 1 | sed 's/ //g'"))
+exp_pm=real(system("cat results/explicit.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '-' -f 2 | sed 's/ //g'"))
+exp_ppm=exp_keff+exp_pm
+exp_mpm=exp_keff-exp_pm
-vwh_keff = system("cat results/vwh.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '+' -f 1 | sed 's/ //g'")
-vwh_pm = system("cat results/vwh.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '-' -f 2 | sed 's/ //g'")
-vwh_ppm = vwh_keff+vwh_pm
-vwh_mpm = vwh_keff-vwh_pm
+vwh_keff=real(system("cat results/vwh.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '+' -f 1 | sed 's/ //g'"))
+vwh_pm=real(system("cat results/vwh.out | grep 'Combined k-effective' | cut -d '=' -f 2 | cut -d '-' -f 2 | sed 's/ //g'"))
+vwh_ppm=vwh_keff+vwh_pm
+vwh_mpm=vwh_keff-vwh_pm
set arrow from graph 0, first exp_keff to graph 1, first exp_keff nohead front lc rgb "red" dt 2
set arrow from graph 0, first vwh_keff to graph 1, first vwh_keff nohead front lc rgb "blue" dt 2