{ auto c2e = new TCanvas("c2e","c2e",600,400); auto h2e = new TH2F("h2e","TH2 drawn with option E",40,-4,4,40,-20,20); float px, py; for (Int_t i = 0; i < 25000; i++) { gRandom->Rannor(px,py); h2e->Fill(px,5*py); } h2e->Draw("E"); }