The alignment can be changed this way:
axisTitle.setRenderFlags( Qt::AlignRight | Qt::AlignVCenter );
axisTitle.
setFont( plot
->axisTitle
( QwtPlot::xBottom ).
font() );
plot
->setAxisTitle
( QwtPlot::xBottom, axisTitle
);
QwtText axisTitle( "min" );
axisTitle.setRenderFlags( Qt::AlignRight | Qt::AlignVCenter );
axisTitle.setFont( plot->axisTitle( QwtPlot::xBottom ).font() );
plot->setAxisTitle( QwtPlot::xBottom, axisTitle );
To copy to clipboard, switch view to plain text mode
But this might still not be what you want to have as the title label is aligned to the canvas and its right end is not below the right scale.
Uwe
Bookmarks