Re: Axis title
Rene Brun (Rene.Brun@cern.ch)
Tue, 08 Sep 1998 00:08:58 +0200
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