[color=red]Thanks for the valuable replies . You will be glad to know that i’ve solved my problems using your ideas. Now I color the histogram using the intractive part of the pad. Also I’ve solved the disc space problems[/color].
[color=blue]Now I want to apply a banana cut in a 2D histogram by applying command in the ROOT prompt . Please help.[/color]
TH2F* hpxpy = new TH2F(“hpxpy”,“py vs px”,40,-4,4,40,-4,4);
Double_t px, py;
for (Int_t i = 0; i < 25000; i++) {
gRandom->Rannor(px,py);
hpxpy->Fill(px,py);
}
hpxpy->Draw("[mycut]");
}