there is a method in TAxis class called CenterTitle to center title of axis. Do you know what command I have to write in my rootlogon.C to automatically center titles of axis? Thanks.
The only way is:
Ok, so it is not possible to apply this function automatically. Correct?
There is not global settings (if it is what you mean by “automatically”).
Not all attributes can be set globally. The list will be too long. Moreover ROOT is an object oriented system so it deals with objects
still no way for auto center title default when draw?
like in .rootrc gStyle, set kCenterTitle default to yes?
anyone could solve this?
No change on this . You should act on the object directly.