Re: [ROOT] Fill attributes for a TF1

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 10 2000 - 15:59:25 MEST


Yannick,
You can write something like:

hist->Fit("f1");
TF1 *f1 = hist->GetFunction("f1");
f1->Draw("chistsame");


Rene Brun

Patois Yannick wrote:
> 
> On Tue, 10 Oct 2000, Rene Brun wrote:
> 
> > Hi Yannick,
> > do  f1->Draw("chist");
> 
> Thanx,
> 
> But how does it works when 'f1' is a function used to fit an histogram ?
> If I do :
> hist->Fit("f1");
> How can I plot the histogram with f1 still displaying it's filling
> attributes ?
> 
>         Yannick



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:35 MET