This is possible, just do hist->GetListOfFunctions()->Add(f1) hist->GetListOfFunctions()->Add(f2) with TF1 *f1, *f2 Rene Brun > Stilianos Kesisoglou wrote: > > Hi, > > Is there any way to "attach" a set of functions to a histogram? > For example let's say that I create two functions "f1" and "f2" > and use the sum of them, f3=f1+f2 to fit a histogram named "hist" > By default the function f3 is added to the list of fitted functions > to the histogram, and later on it can be retrieved. > Is there any way to attach the functions f1 and f2 for later usage > as well? > > Thanks! > > Stelios.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET