I found the result only shows the first line while write the script as attachment shows. Whatever I changed the relative position of “f1->Draw()” or “f2->Draw(“same”)” or exchanged, the plot only shows one line. I try to define “TCanvas * c” but also failed.
Could you please give me some suggestions?
Thanks very much for your help.