Logarithmic axes on 3D displays

I am plotting a 2D histogram with a vertical axis (via the “surf” draw options; see attached picture). The vertical axis (i.e. counts) has a very wide range (0 - 10^7 or so), so I would like to make the vertical (z) axis a logarithmic one. I am able to do this via the gPad->SetLogz(1) command.

However, I cannot get the resulting z axis to show values on it. I have tried grabbing the z-axis pointer in the histogram and changing its range via TAxis::SetRangeUser and TGaxis::SetNdivisions, but root seems to ignore both changes.

Can anyone help, please?



Can you send me the histogram/macro you used to produce this plot ?