Re: Painting histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 11 1999 - 17:00:17 MET


Hi Ulrich,
My guess is that your histograms are destroyed somewhere in your
process.
Could you send me a simplified version of your macro ?

Rene Brun

Ulrich Husemann wrote:
> 
> Dear Rooters!
> 
> I try to write a macro to paint several histograms into different pads in
> a canvas. The procedure is the following:
> 1) create pads
> 2) pad.cd();
> 3) book histogram
> 4) Draw contents of some root file and pipe them into the histogram
> 
> If I stop here, nothing is painted.
> 
> But if I do a
> 
> gPad->Update();
> 
> I can see the histogram for a few milliseconds before it is gone (the
> frames and the stat box are still there).
> 
> Ulrich



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:42 MET