Dear all,
because matplotlib.pyplot is slow, I want to use pyqtgraph to display plots of scalar-valued functions of two variables. The figures I want to achieve are similar to contour plots or heat plots, in general they are false color displays of scalar-valued functions of two variables. In my special case they are parts of spectrogram data, which are combined to the plot of a whole spectrogram.
My question is, if there is already a function or an object in pyqtgraph available, which is suitable to combine these parts of the spectrogram to a large spectrogram and show the result as an image? The axes should be suitably configurable and the position and the scale of the little spectrogram parts should also be choosable.
I found a way to combine my little spectrogram parts using a GraphicsLayoutWidget, an ImageItem and translate and scale methods of the ImageItem object. This works fine besides the "DeprecationWarning: Deprecated Qt API, will be removed in 0.13.0.", which is shown because of the usage of the translate and scale methods.
I wonder if there exists already another more simple way inside pqtgraph to show individual spectrogram parts as a whole spectrogram?
An example is attached to the e-mail, which shows the principle of my ideas. There are shown individual images of sin-functions in y-direction and x-direction instead of spectrogram data to make the example easy.
Do you have suggestions?
feli_x