Re: [ROOT] fitting Data without the need to write them into a histogram

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jul 29 2003 - 21:32:44 MEST


You can use TH1::Fit, TGraph::Fit, TGraphErrors::Fit, etc without 
graphics.
Use options "N" or "0".
See documentation of these functions.

Rene Brun

On Tue, 29 Jul 2003, Ralph Steinhagen 
wrote:

> Hello!
> 
> I have a set of arrays with data which needed to be fitted to a user defined 
> function. 
> Up to now the prototype writes them into a TGraphErrors object and using the 
> TGraphErrors::Fit() function the desired function is evaluated.
> 
> Is there a possibility to fit (TMatrixD, TArray..etc.) data without the need 
> of defining a histogram, canvas or anything else which tend to make graphical 
> output?
> Thanks in advance.
> 
> 
> Cheers,
> 
> Ralph
> 



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