drawSpectrum