I am trying to plot a spectrogram in real-time using QCPColorMap. However, it is much more tricky than the real-time demo using QCustomPlot since QCPColorMap doesn't have the
addData() function and shifting the x axis is also much more difficult.
I'm trying to approach this problem that way that first I read one period of spectrogram, then I visualise it in the for loop, then I store the period in a buffer and then when I get the second period of samples I am putting it in a for loop together with the previous period from the buffer etc...But with no success so far.
Is there any easier way to plot spectrogram in real time using QCustomPlot?
Thank you for your answer.