There is no option to center the axis title by default. You can only center the title via TAxis::CenterTitle. This option could be added in a future version of TStyle. Rene Brun Go IWAI wrote: > > Dear ROOTers, > > Is there any way to center the title of axis by default? > I know the how to center it after object(TH1 or etc) was drawn, > > histo -> GetXaxis() -> SetTitle( "X TITLE" ); > // I'd like to omit a following line. > histo -> GetXaxis() -> CenterTitle(); > > However, I'd like to always center it by setting once in such as a file > ".rootlogon.C". > Can I get it? If there was any solution or suggestion, would you tell me > it, please. > > ---- > 8050 Ikarashi 2-no-chou, Niigata City, 950-2181, Japan > Phone & Fax: +81-25-262-6138 > Go IWAI iwai@hep.sc.niigata-u.ac.jp
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET