View Full Version : fixed axis scales

16th December 2008, 18:27

I'm trying to make the y-axis not resize when the plot resizes.
In other words, when the plot resizes, i'd like the y-axis to show a larger range if the size increases and to show a smaller range of it decreases.

right now, the y-axis range stays constant when resizing, which makes my graphs grow/shrink.

17th December 2008, 06:20
If you download a Qwt 5.2 snapshot from SVN you find a class QwtPlotRescaler. The unfinished navigation example shows how to use it.

AFAIR QwtPlotRescaler is compatible with Qwt 5.1. If not copy/adjust the code.