Y axis labels on histogram

Hi,

I think I have an easy question. I have a histogram with a Y axis that runs from 0 - 30000 [mm].
However I want the labels as x10^3, so 10, 20, 30 up the Y axis, then x10^3 at the top. Sometimes
the histogram does this on its own, but I dont know how to force it.
Thanks.

Hi,

call hist->SetMaximum(30e3);

Cheers, Axel.

This resets the maximum but does not change 30000 to 30 with (x 10^3) on the axis label.

TGaxis::SetMaxDigits(3);

Brilliant. That works, thank you.