First of all hello, i'm new in here
I use qwt 6.0.0 with qt 4.8.1 within linux (ubuntu 12.04).
I use qwt to draw real time audio signals and the corresponding power spectrum (calculated with fftw). The audio buffer is about 150ms with 44kHz sample rate. The drawing gets updated in a 100ms interval. The drawing of the power spectrum uses a user selectable logarithmic or an linear scale for both x,y-axis (see application code for y):
Qt Code:
if( scaleLog == true ){ } else{ }To copy to clipboard, switch view to plain text mode
Now my problem:
Qwt seams to plot random points at lower frequencies which do not exist. It only does this if logarithmic scaling of y axis is choosen, the x axis scaling seams to have no effect on this. I already analysed the data using gnuplot, to know if there is any corruption but the data is not disturbed as you can see in the attached screenshots. I alreday recognized this quit a while ago but because it is only a display bug i did not pay much attention to it. In fact i wanted to know if any one here recognized something similar. I recognized this already in earlier versions of qwt (5.x). Maybe some one could give me a hint, thanx a lot...
qwtlogscalebug.jpg
qwtlogscalebuggnuplot.png
cheerz x
p.s. it's just a hobby software development in my freetime so it's not urgently but i want to fix this because it simply does not look good.
Bookmarks