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,
Giovanni
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,
Giovanni
Dear Giovanni,
Nice plot!
I think the method you are after is TAttAxis::SetLabelOffset. In other words:
myXaxis.SetLabelOffset(.015);
where I choose 0.015 because it’s 3x the default spacing, as per documentation linked above.
I hope this helps!
Cheers,
D
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!