I have problems with the labels on the axis of histograms, they superimpose sometimes and the numbers cannot be read. Is there any option to avoid this? I have tried with SetNdivisions() but then I don't get the labels printed, just the ticks.
Cheers
Belen
Hi Belen,
use TH1’s or TStyle’s SetTitleOffset. 1 is the default value; if you increase it by too much the title will move outside the canvas (i.e. disappear).
Axel.
Did you try to change the axis parameters using the axis editor? You can activate the editor via the canvas View/Editor menu. When you click on different objects in the canvas the available user interface shows up. Click on the axis and reduce the axis divisions via the editor (or label size, offcet, etc.). I hope you will get the axis’ view you want shortly and you can save all settings in a macro via File menu/Save.