Simple question -
why is there an option for TGraph->GetXaxis()->SetTitleSize
but no TGraph->SetTitleSize
Or have I missed something?!
Cheer
Matt
Simple question -
why is there an option for TGraph->GetXaxis()->SetTitleSize
but no TGraph->SetTitleSize
Or have I missed something?!
Cheer
Matt
The axis titles belong to the axis which themselves belong to the TGraph. There are two titles: one along the X axis and an other along the Y axis. That is why GetXaxis() or GetYaxis() is needed to decide which title size should be changed.
Just a couple days ago I was also looking for it …
I found that you can change size of title letters in all histograms by :
gStyle->SetTitleFontSize(0.1);
Why there - I guess - " for historical reasons", going back to PAW memory saving logistics. If every histogram has its’ own title size, then it means it has to have yet another data member.