Hi Volodja,
You should do:
TF1 fun1("fun1","[0] + [1]*x",1,10);
fun1.SetParameters(1,1);
fun1.DrawCopy();
fun1.SetParameters(5,-1);
fun1.Draw("same");
Rene Brun
babintsev@mx.ihep.su wrote:
>
> Hello rooters.
>
> I cannot draw 2 lines on the same picture. Root 2.25/03 .
>
> TF1 fun1("fun1","[0] + [1]*x",1,10);
> fun1.SetParameters(1,1);
> fun1.Draw();
> fun1.SetParameters(5,-1);
> fun1.Draw("same"); // --> different picture
>
> // fun1.Draw("lsame"); // ..........
> // fun1.DrawCopy("lsame"); // .......
>
> Thanks a lot.
> Volodja Babintsev
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET