root /data analysis framework/

Force axis label displayed exponentially

According to Ramble on programming tips for the particle physicist,

TGAxis *axis = (TGAxis*) histogram->GetYaxis();
axis->SetMaxDigits(3);