Re: [ROOT] Width of bar chart

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 19 2001 - 11:17:38 MEST


Hi Olivier,
Use TH1::SetBarWidth(width); //with width=0.5 for example.

You can also change the default offset via TH1::SetBarOffset

Rene Brun

On Wed, 19 Sep 2001, Olivier Barret wrote:

> Hi,
> 
> How can I change the default width of the bars displayed when the B option
> is used to display histogram or graphs.
> The default is fine for equidistant points but not so good when they
> aren't. Some bars are hidden by higher ones.
> 
> Thanks.
> Olivier
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET