How to avoid title to overlap the term 10x-N?

Hello,

I have some graphs with names big enough to reach thee top of the graph, and
there is then an overlap of the title of the graph on the term 10x-N, what prevents
from reading the value of N.

I attach such a graph to make my explanations clearer.

Is there a way to shift this title vertically not to have this overlap ?

I tried with TH2F->setTitleOffset() but it has no effect on this title.

Thanks for your help,

David Landriu


You can for instance reduce the title size with:

gStyle->SetTitleH(0.02)

There several settings acting on title geometry and placement:

SetTitleFontSize
SetTitleBorderSize
SetTitleXOffset
SetTitleXSize
SetTitleYOffset
SetTitleYSize
SetTitleX
SetTitleY
SetTitleW
SetTitleH

gStyle.SetTitleH(0.04) worked in my case .

Thanks again,

David Landriu