Re: [ROOT] ALWAYS CENTER TITLE

From: Go IWAI (iwai@hep.sc.niigata-u.ac.jp)
Date: Tue Apr 08 2003 - 05:23:45 MEST


Dear Mr. Bertrand,

Thank you for your precious comment.

I'd like to center 'AXIS TITLE'.

I tried with solution you tell me, but unfortunately centered only
HISTOGRAM TITLE.

----
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


> Hello Go san,
> 
> Here is a possible solution :
> 
>     gStyle->SetTitleX(0.1f);
>     gStyle->SetTitleW(0.8f);
> 
> Cheers,
> Bertrand.
> 
> ----- Original Message ----- 
> From: "Go IWAI" <iwai@hep.sc.niigata-u.ac.jp>
> To: <roottalk@pcroot.cern.ch>
> Sent: Monday, April 07, 2003 5:58 PM
> Subject: [ROOT] ALWAYS CENTER TITLE
> 
> 
> > 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