PDA

View Full Version : Equal scales



sukram
22nd July 2008, 07:48
I want to display some geometrical data and therefore I need equal scales on both axes. I know I can set the min and max values for axes but how to set the delta?

Moreover it would be nice to not loose this feature when panning and zooming the plot.

I know this is in the Feature Requests list for qwt, but as far as I know it is not realised by now.

Anybody any idea how to do that by hand?

Uwe
22nd July 2008, 08:44
Try to to use QwtPlotRescaler from SVN trunk. ( Guess you can backport it easily to Qwt 5.1.x ). The incomplete navigation example shows how to use it.

Uwe