Re: [ROOT] TProfile empty bins not empty

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Oct 01 2003 - 10:32:51 MEST


Hi Michael,

In a TProfile, empty bins are not drawn.
Could you send me an example (script, file.root,??) showing this problem?
Note that there is always a problem with bins having one entry only
or bins having always the same value. See discussion in class TProfile

  http://root.cern.ch/root/htmldoc/TProfile.html#TProfile:BuildOptions
  http://root.cern.ch/root/htmldoc/src/TProfile.cxx.html#TProfile:GetBinError
  http://root.cern.ch/root/htmldoc/TProfile.html#TProfile:Approximate

Rene Brun


"K.-Michael Aye" wrote:
> 
> Hi!
> 
> I plot data over a longer period of time with TProfile, but sometimes
> there is no data, so these bins are not filled.
> Empty Bins are Draw()n with a zero in it, but sometimes the measured
> value is also zero, which makes it impossible to distuingish between
> times when there is no data and times when a zero has been measured.
> 
> Is there a way to leave empty bins really empty in the plot with TProfile?
> 
> Thanks,
> Michael
> --
> K.-Michael Aye, University of Durham, Dept. of Physics
> Phone@Work: +44-191-334-3665, Fax@Work: +44-191-334-3521
> "Because the exploration of space knows no national boundaries,
> the loss of the Columbia is a loss to all humankind!"(Kofi Annan)



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET