I have multiple spectrogram plots (Qwt5) in my application, with different value ranges. However, I want to have two plots to have the same scale in their plots. I know how to tweak the ScaleAxisWidget to show the same range for both plots (e.g. from -1 to 1). But the QwtPlotSpectrogram itself still shows a different range, encoded with a different color map. The setColormap function for the QwtPlotSpectrogram only allows me to specify the color map, not the value range, as is the case with the ScaleAxisWidget. How can I work around this?
Bookmarks