#! /bin/bash
# Last edited on 2012-12-15 11:50:16 by stolfilocal

datfile="$1"; shift

gnuplot <<EOF
set term x11
plot \
  "${datfile}" using 1:2 title "pulse" with linespoints, \
  "" using 1:6 title "corr" with linespoints
pause 120
EOF
