remove obsolete plotSpectra