add plotting of energy spectra