====== Extracting maser-gps and formatter-gps offsets ====== grep hpib crds51hb.log | grep E | sed 's/\// /g' | sed 's/2012.//' | sed 's/\./ /' | sed 's/\...//' | awk '{print $1, $2, $4}' > hpib.txt grep fmout crds51hb.log | grep E | sed 's/\// /g' | sed 's/2012.//' | sed 's/\./ /' | sed 's/\...//' | awk '{print $1, $2, $4}' > fmout.txt gnuplot set timefmt "%j %H:%M:%S" set xdata time set xtics format "%H:%M" set key outside set title 'CRDS51 clock offsets' plot 'fmout.txt' u 1:($3*1.0e+6) t 'Formatter - GPS (us)', 'hpib.txt' u 1:($3*1.0e+6) t 'Maser - GPS (us)' set terminal png set output 'crds51timing.png' replot