Hi there,
It seems that QwtPlot::setAxisAutoScale(true) doesn't work if I call it after a QwtPlot::setAxisScale(...);
Example:
fPlot.
setAxisScale(QwtPlot::xBottom,
-6,
6);
fPlot.setAxisAutoScale(true);
fPlot.setAxisScale(QwtPlot::xBottom, -6, 6);
fPlot.setAxisAutoScale(true);
To copy to clipboard, switch view to plain text mode
If then i put x values between -1 and 1, the axis remain between -6 and 6.
Anyone knows how to resolve this problem? I must re-enable axis auto scale after setting up a manual axis scale.
Sorry for my english, hope you can understand the problem
Thanks, Dario
Bookmarks