Move the Y axis to the right programmatically

Dear all ,

Does anyone know how to move programmatically the Y axis to the right ?
I would like to have more space for the labels and the axis title that are overlapping.

Thanks
Barth

Yes I think I know :slight_smile: .
It is the option Y+ as explained in the doc.

Hello,

Thanks for your reply. Actually I didn’t express myself clearly, sorry. What I want is just to shift a bit the Y axis, not to put it on the right-side of the plot.

I have put pictures to show what i want to do (here I did it by dragging the axis).

Thanks
Barth




https://root.cern/doc/master/classTStyle.html#a817ae3d2c9a3f6f116a161c9c2521b15