user defined function problem,

Hongquan Niu (niu@cdfsga.fnal.gov)
Tue, 15 Jun 1999 20:17:59 -0500 (CDT)


Hi, rooters,

I want to draw a user defined function in two pads with
different parameter(not UserFunc parameter now if there is
any difference). I use
TF1 *func = new TF1("fit", UserFunc, -0.08, 0.44,0);
func->DrawCopy();
First there is some complain but it can be drew.
Then I change some number and goto another pad and draw
it again. Then the plot in the first pad also changed.
I wonder how I can avoid this?

Thanks,
Hongquan