added plot function for Spectrogram type