Re: Border Dist
Brought to you by:
rathmann
From: Uwe R. <Uwe...@ti...> - 2024-11-11 14:43:45
|
On 11/8/24 16:46, Filipe Lopes wrote: > However, if I call replot() after that, the border distance is reset > to 0.0, and I don't know why. Adjusting the border distance is part of the layout system, that is executed by replot. But what about: plot->axisWidget( ... )->setMinBorderDist( ... ); Then the distance will be your margins - beside the tick labels require more space. > ... the border distance is set to 0.2 The border distance is a margin in pixels - and 0.2 does not make much sense then. Maybe QwtScaleEngine::setMargins is what you are looking for ? HTH, Uwe |