How to format the y scale in TGraph

hi,

I have a graph and I want to impose the scientific format of the y axis in order to not have numbers like 0.002 but 2x10^-2

how to do that?

TGaxis::SetMaxDigits(3);