Binning of a 2D histogram

hi Coyote,

I used your suggested method to bin a 2D histogram, but I am getting the same plot for all three cases.
Kindly see it

fakeratio_tqz1.cc (2.3 KB)