A comparison between the scalogram (CWT) and spectrogram (STFT) with two different spatial windows

Input signal

 

The CWT

 

STFT with a small spatial support

 

STFT with a large spatial support (good resolution in frequency/scale, low resolution in space/time compared to the previous option)