Hi,
I am trying to adjust a range of THStack y axis (by hstack->GetYaxis()->SetMaximum(ymax); ). However, the range is smaller than some contents of bins, thus the plot is out of the range (look at the attached plot please) so that it looks ugly. Any hint not to show the part outside?
If I use ‘nostack’ mode of THStack, I can specify each histogram’s range to solve the problem, however, it is not working for hstack->Draw() stack mode.