plot-Spectra function

Plots an object inheriting from the Spectra class