add function for plotting spectrogram on X11