diff options
Diffstat (limited to 'scripts/plot-detector-shift')
-rwxr-xr-x | scripts/plot-detector-shift | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/plot-detector-shift b/scripts/plot-detector-shift new file mode 100755 index 00000000..f1933346 --- /dev/null +++ b/scripts/plot-detector-shift @@ -0,0 +1,13 @@ +#!/bin/sh + +INFILE=$1 + +grep "predict_refine/det_shift" $INFILE > plotme.dat +gnuplot -persist << EOF +set xlabel "x shift / mm" +set ylabel "y shift / mm" +set grid x2tics +set x2tics 10 lw 2 lc 0 +plot "plotme.dat" using 4:7 +replot 0 lw 2 lc 0 +EOF |