Re: [ROOT] TH1 (cosmetics)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jun 29 2000 - 09:27:13 MEST


Hi Christian,
You can increase the pad left margin (default 10 per cent to 15 per cent) with
 gPad->SetLeftMargin(0.15);

The SetLeftMargin is a function of TAttPad

Rene Brun


SetLeftMargin

Christian Haeberli wrote:
> 
> Dear ROOTers
> 
> I'm doing some cosmetics with a TH1:
> The Y-Axis of my plot is going up to 1000. The problem is, that the
> number 1000 of the axis scale (AxisLable) is ovwritten by the AxisTitle.
> I tried to improve the picture by increasing the TitleOffset and
> decreasing the LabelSize, but I'm not satisfied with the result. I would
> like to shift the Y-Axis to right. So I could make the TitleOffset
> bigger without forcing the title to leave the Pad. I looked for a
> possiblity in TFrame but I did't find anything useful.
> 
> So my question is: How can I separate the label and the title of the
> axis from each other?
> 
> Thank you
> 
> Christian
> --
> ___________________________________________________________________
> Christian Haeberli                       christian.haeberli@cern.ch
> University of Bern
> Laboratory for High Energy Physics       Phone : ++ 41 31 631 4069
> Sidlerstr. 5                             Mobile: ++ 41 76 316 6159
> CH-3012 BERN                             Fax   : ++ 41 31 631 4487



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET