Re: Sumw2
Rene Brun (Rene.Brun@cern.ch)
Fri, 12 Mar 1999 10:52:42 +0000
M. Sievers wrote:
>
> On Thu, 11 Mar 1999, Rene Brun wrote:
>
> [...]
>
> > Salut Patrice,
> > You can use the UNDOCUMENTED option "hist" in TH1::Draw.
> >
> > h->Draw("hist")
> >
> > will draw only the histo contour (no errors or associated functions).
> > I have added the option in the comments of TH1::Draw.
>
> Hi,
>
> will there also be a "text" option for 2D-histograms? I would be glad if
> I had an easy way to have the numbers of events in any bin on the plot, I
> am now resorting to a loop over the bins using a printf to have an
> approximation of this output :(
> I'm sorry, I'm not enough into the source code to attempts this myself!
>
Hi Mike,
There is no "text" option for 2-d. A better solution is to activate
the canvas event status and simply point with the mouse to any cell.
You will see the bin bumber (x,y) and also the bin content.
I want to mention also
h->Print("all")
for all type of histograms, this will print all bins with their contents
and errors.
Rene Brun