1 2 3 4 5 6 7 8 9 10 11 12 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