Fix bug in SpectrumFile plotting