PDA

View Full Version : Orthogonal Plot



vnuss
9th August 2013, 13:28
Hello @ all.

I need some help regarding the canvas and the scaleengine of the qwt plot.

I have to paint an orthogonal plot.
This means, that i have to prevent a stretching plot. ( left axis should be like the bottom axis ).

Can anyone help me to solve this problem?

Uwe
12th August 2013, 08:32
The range of the axes are not changing, when resizing the plot, so I guess you are asking for how to set a fixed aspect ratio in widget coordinates.
If true have a look at the modes of QwtPlotRescaler - the playground/rescaler example shows how to use it.

Uwe

vnuss
12th August 2013, 10:23
Thanks a lot.
This Class fits my requirement.
It's a nice solution.