{ TFile f1("essai1.root"); TH1D *h1=f1.Get("2"); TFile f2("essai2.root"); TH1D *h2=f2.Get("2"); TFile f3("essai3.root"); TH1D *h3=f3.Get("2"); h2->SetLineColor(kRed); h3->SetLineColor(kGreen); h1->Draw("l"); h2->Draw("same"); h3->Draw("same"); }