Re: [ROOT] Axis Title

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Aug 29 2003 - 10:12:44 MEST


Hi Stefan,

Use
  h->GetXaxis()->SetTitleOffset(offset); // or h->GetYaxis()

default for offset is 1.
try offset = 1.4 (distance will be 40% bigger than the default)

Rene Brun

Stefan Höche wrote:
> 
> Hi Rooters,
> 
> is there any possibility to fix the distance between an axis title of a TH1D
> and the histogram itself ?
> Thanks
> Regards
> 
> Stefan



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET