copied plot_spectra to src