Re: [ROOT] THStack "nostack" bug

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 07 2002 - 11:31:53 MET


Hi,

I already fixed this problem a few weeks ago in the CVS development
version.

Rene Brun

On Thu, 7 Nov 2002, Maksim A. Nikulin wrote:

> Hi,
> 
> I noticed TH1 and THStack draw options mixing in ROOT (for example
> 3.03.09). Histograms appear as curves when I use THStack::Draw() with the
> "nostack" option. As I understand this happens because of THStack pass
> "nostack" to TH1, histograms see "c" option and draw curves. The script
> bug_THStack.C in the attachment demonstrates this behaviour.
> 
> I slightly changed THStack.cxx and have seen normal rectangles. The patch
> is also in the attachment. Use
> patch -p1 < THStack.cxx.patch
> from the top directory of the ROOT source.
> 
> Maksim Nikulin <M.A.Nikulin@inp.nsk.su>
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET