Scientific notation in Axis

I would like to have the axis in scientific notation but I am having problems following the use of TGaxis.
I tried the following:

TCanvas *c2 = new TCanvas(“t1”,“t1”,1100,500);
norm_y->SetMarkerSize(0.7);
norm_y->SetMarkerColor(4);
norm_y->SetMarkerStyle(21);
norm_y->SetTitle(“Angular distribution”);
norm_y->GetXaxis()->SetTitle("#circ");
norm_y->GetYaxis()->SetTitle(“Normalized Yield”);
TGaxis::SetMaxDigits(2);
norm_y->Draw(“Pl”);

norm_x->SetMarkerSize(0.7);
norm_x->SetMarkerColor(2);
norm_x->SetMarkerStyle(21);
norm_x->Draw(“PlSAME”);

I also tried something I found on the web instead of TGaxis::SetMaxDigits(3):
TGaxis aacY = (TGaxis)norm_y->GetYaxis();
aacY->SetMaxDigits(2);

But both cases failed in my case. Can anyone tell me what am I doing wrong?
Thank you!

Can you post a self-contained example we can run ?