TGraph *gr0 = new TGraph(pnoy,iypos,pzzy);
TGraph *gr = new TGraph(pnoy,pypos,pzzy);
pad0->Draw();
pad0->cd();
Float_t xr[2] = {-23.0,23.0};
Float_t yr[2] = {-25,48.25};
Int_t nch = 2;
gr0->PaintGraph(nch,xr,yr,"AP");
gr0->Draw("AL*");
gr->SetMarkerColor(4);
gr->SetMarkerStyle(21);
gr->Draw("Same");
pad0->Modified();
================================================================
When I execute the macro, it plot only "gr0" not "gr" without any warning
or error message. Do you have any idea?
TF1 seems to be able to superimpose a plot on top of existing picture.
Is TGraph able to do it?
--- Thanks a lot! Jayoung