Redraw TH1 and omit the empty histos

See: [url]SetAxisRange(0.0,1.0,"Y"); is ineffective

Note: you MUST draw the THStack BEFORE you can retrieve its x-axis. You might also make sure that it is really drawn by calling “gPad->Modified(); gPad->Update();”.