add debug spectrum.txt out and gnuplot script for it