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

datfile="$1"; shift

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