Initial demo for plotting the spectrum
Very slow, be careful!