Originally Posted by
Uwe
*Try to get rid of labels
Uwe
I used this code but removing ticks and labels have no effect for making more smaller. only thing that has effect is maxMajor value
setAxisMaxMajor(QwtAxisId(QwtAxis::xBottom, 0),15);
axisScaleDraw(QwtPlot::xBottom)->enableComponent(QwtAbstractScaleDraw::Ticks, false);
axisScaleDraw(QwtPlot::xBottom)->enableComponent(QwtAbstractScaleDraw::Labels, false);
setAxisMaxMajor(QwtAxisId(QwtAxis::xBottom, 0),15);
To copy to clipboard, switch view to plain text mode
Bookmarks