diff options
| author | Connor Moore <connor.moore@psi.ch> | 2026-07-07 11:06:00 +0200 |
|---|---|---|
| committer | Connor Moore <connor.moore@psi.ch> | 2026-07-07 11:06:00 +0200 |
| commit | 8e0621d448eb68a5ec5a900536a4278d85726006 (patch) | |
| tree | a29620e762c0b436d88495d396c846206245695a | |
| parent | 63206fff49de9f8d82eb6bc05c643655fa0e9906 (diff) | |
Updated plotting script to be more verbose with types
| -rw-r--r-- | plot.gnu | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |
