adding show() and plot() for class "spectrum"