Re: Axis title

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Sep 08 1998 - 00:08:58 MEST


Scott Sampson wrote:
> 
> Hi,
> 
> I want change the size of the titles on my histogram axes. i.e. the ones
> set with h->SetXTitle() and h->SetYTitle(). How can I do that? I might
> also like to change other properties, like the offset. thanks,
> 
> Scott Sampson

Scott,
Get a pointer to the axis object, like in:
  TAxis *xaxis = h->GetXaxis();
  xaxis->SetTitleOffset(1.2);
  xaxis->SetAxisColor(2); //etc

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET