Re: [ROOT] TH1F automatic y-axis setting

From: Olivier Couet (couet@mail.cern.ch)
Date: Wed Sep 01 2004 - 09:49:07 MEST


Hi,

 Yes the behavior has changed. You can see it also when you plot a 
subrange of the X axis. The way to get back the old behavior is to set 
the minimum to zero.

Cheers,    Olivier


On Tue, 31 Aug 2004, schulte-wissermann wrote:

> hi,
>  since i use root you Fill(...) a histo, and then you Draw() it.
> since v4.xx the TH1F behaviour seems to be different: it automatically
> is updated when filled, and 
>              => it's minimum does not remain 0 <=
> how can force root to keep the histo's minimum at zero
> (without using SetMinimum(0) for each of my histos;
>                               maybe something in my .rootrc?)
> 
> greetigs,
>  martin
> 
> ps: gcc 3.xx, root_v4.00.08
> 
> 

-- 
Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                     Mailbox: J25910      
E-Mail: Olivier.Couet@cern.ch                            Phone:   +41 22 7676522
WWW:    http://cern.ch/Olivier.Couet/                    Fax:     +41 22 7677155



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET