Overlap in x- and y-axis numbers

Hi, I am having this overlap between the axis numbers that you can see in the picture below

Is there a setting on the x- and y-axis that I can use to avoid it?

Thanks a lot, best,

Dear Giovanni,

Nice plot!
I think the method you are after is TAttAxis::SetLabelOffset. In other words:


where I choose 0.015 because it’s 3x the default spacing, as per documentation linked above.

I hope this helps!


There is many ways. The one Danilo proposed is one of them. If, for some reasons, you don’t like it we can propose some others.

It works fine, thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.