Hi all, I'm plotting a curve using a QwtLogScaleEngine for the xTop axis:
QwtLogScaleEngine *engine = new QwtLogScaleEngine();
setAxisScaleEngine(QwtPlot::xTop, engine);
I'm also trying to use setAxisMaxMajor(QwtPlot::xTop, 2) to limit the number of major scale intervals to 2.
But the result is that I still get 3 major intervals on the xTop axis:
logplot.jpg
Is setAxisMaxMajor(..) not supposed to take effect when using a QwtLogScaleEngine ?
Thanks in advance.
Bookmarks