Hi folks,
I have been trying to draw two histograms stacked on top of each other by splitting the parent histogram into two sets of axis ranges. I have divided the canvas. However, I am not able to set the x-axis ranges for both separately ? When I use
c1->cd(1)
h1->GetXaxis()->SetRangeUser(0, 0.5)
c1->cd(2)
h1->GetXaxis()->SetRangeUser(0.5, 1)
It changes the X-axis for both the histogram ranges. I am trying to set the range 0 to 0.5 for above and 0.5 to 1 for below.
Thanks in advance!