Re: [ROOT] fitting 2-d histogram with subranges

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Mar 14 2001 - 17:31:09 MET


Hi Andriy,

TH2 derives from TH1. You can use TH1::Fit for a 2-d histogram.

You can see examples in $ROOTSYS/test/stress.cxx (look at stress4)

Rene Brun

Andriy Mykulyak wrote:
> 
> Hello ROOTers,
> 
> I faced with the following problem. I need to fit 2-d histogram, but there
> is no function like TH1.Fit(...) in the TH2 class and its descendants. Tell
> me please, can I do it at all, and if I do, how ?
> 
> Thanks in advance,
> Andriy Mykulyak.



This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:51:21 MEST