Re: [ROOT] THStack

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 21 2001 - 14:42:28 MET


Hi Matt,

I have added support for SetMaximum and SetMinimum in THStack.
These two functions are also visible in the context menu.
Now in the CVS source.

Rene Brun

Matt Palmer wrote:
> 
> Hi,
> I noticed that by default, THStack plots histograms with the y-axis starting
> from mimimum value of the stack.  I want to change this behaviour so that the
> y-axis starts at 0.
> 
> So, I call SetMinimum, but that has no effect...looking at the
> code, it appears that there is a problem - SetMinimum sets the variable
> fMinimum but that variable is never used.  GetMinimum, instead of returning
> fMinimum, recalculates the minimum.  I assume this is a bug?  Is there a way
> around this?
> 
> Matt



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