Problem with TGaxis::SetMaxDigits()


The attached program works as expected when compiled with root_v4.00.03 but
not with root_v4.00.04. With root_v4.00.04 I am not getting 10^N above the Y axis.
Platform Red Hat Fedora Core 1, gcc 3.3.2, and root 4.00/04, 1 June 2004.

Thank you,

TestTGAxis.cxx (3.37 KB)

The maxDigits algorithm was disabled for 2-d histograms. Now fixed in CVS.
Note that in your example, you should use
SetMaxDigits(4) instead of 2.