PDA

View Full Version : QwtPlotSpectrogram zoomed in



SJPDS
17th October 2016, 22:34
I'm looking to display QwtPlotSpectrogram always zoomed-in on initial display (the user can zoom out if needed). How do I do that? I can't see a easy way - maybe subclass and implement rescale? Please advice.

Uwe
18th October 2016, 07:28
In general there is no zoomed in/out - you assign the scale ranges using QwtPlot::setAxisScale and that's it.
If you are thinking about creating an initial zoom stack for a QwtPlotZoomer you can use QwtPlotZoomer::setZoomStack().

Uwe