Re: Aligning ticks to data in a Spectrogram using QwtMatrixRasterData
Originally Posted by Uwe
You need to have the ticks at 0.5, 1.5 ... to have them centered.
If you don't need zooming it can be done by creating an QwtScaleDiv manually - otherwise you need to set the parameters for the scale engine properly. Then you can change the labels representing the values to 1, 2 .. by overloading QwtScaleDraw::label().
Uwe
I do need zooming... which I am working on right now. I am not familiar with QwtScaleEngine and QwtScaleDraw -- going to have to do some experimenting. Thanks Uwe.
Bookmarks