Hi Robert, Do histo->GetListOfFunctions()->Add(myfunc); where TH1F *histo, TF1 *myfunc are pointers. Best regards, Stanislav. On Thu, 5 Jun 2003, Robert Wagner wrote: > Hi, > > I'd like to associate a given function to a TH1 histogram, just like > TH1::Fit() does, but I don't want to perform the fit, I already have a > fully determined function which I want to "associate". Is there any way > to do that? > > Best regards, > Robert >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET