MATLAB: Spectrogram comparisons

colormapspectrogram

I'm wanting to run a couple of spectrograms for analysis: one of raw sound and one of filtered sound. When I do this, the intensity of the spectrograms is different for each one because the filtered sound now has a smaller range of frequencies, therefore a smaller intensity field. Is there any way to equalize the intensity of spectrograms so that when I colormap them they are at least closer in color than they are now, without just opening a colormap editor? For example, the raw sound on the default colormap is mostly yellow, with a small red bar at the bottom. When I filter that sound for the frequencies I want, now the whole spectrogram is mostly red with a darker red bar at the bottom. Is there an easy way to adjust these intensities so that they match a little bit closer?

Best Answer

Perhaps the default colour scaling is set by the maximum value found. It might be as simple as scaling by that?
I guess that if the peak to average ratio of the two is wildly different, the plots may still look quite different.