Hi Mariusz,
Example:
root [0] TF1 f1("f1","sin(x)",-1,1)
root [1] TF1 f2("f2","cos(x)",-1,1)
root [2] TF1 f3("f3","cos(0.9*x)",-1,1)
root [3] TF1 f4("f4","f1*f2/f3",-1,1)
root [4] f4.Draw()
see also tutorial FittingDemo.C
Rene Brun
Mariusz Sapinski wrote:
>
> Hello rooters,
>
> I got three different TF1 functions, defined like:
>
> TF1 *f1=new TF1("f1","funcf1",xdown,xup,3)
> TF1 *f2=new TF1("f2","funcf2",xdown,xup,6)
> TF1 *f3=new TF1("f3","funcf3",xdown,xup,3)
>
> I'd like to plot: f1*f2/f3
>
> Is there a fast way to do it?
>
> Regards,
>
> --
> Mariusz
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET