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

datfile="$1"; shift

gnuplot <<EOF
set term x11
set logscale y
plot \
  "${datfile}" using 1:2 title "spectrum" with linespoints, \
  "" using 1:(exp(column(4))) title "deriv" with linespoints
pause 120
EOF
