How to use SetRangeUser

Dear developers,

I want to change the x-axis range of my histograms and then stack on each other in range 60-120. I am using the SetRangeUser command but it is not working. Kindly see my script to resolve it.

Thanks.
Nab

stack_z_try.cc (2.6 KB)

Thank you. But I tried all the commands still my histogram is not changing the range.
But when I use hs->SetMinimum(20); it changes the yaxis but i want to change xaxis range.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.