saving spectrogram data + plotting