this is surely a rather basic question, but…
does ROOT provide a simple method for resizing the y axis if we plot two histograms such that both are icontained in the same y-range?
say, i do:
h1.Draw()
h2.Draw(“SAME”)
Can ROOT automatically resize the Canvas such that h1, and h2 are both contained in the same range?
i can of course either:
compare h1.GetMaximum() and h2.GetMaximum() and plot h1 or h2 first accordingly
i’m aware of these approaches Olivier. I mean some option such that i don’t need to bother, either resizing the pad or checking the max for both histograms.
rephrasing my question: does the Draw option provide an option like ‘R’ which automatically resizes the pad, if an histogram h1 is already drawn such that h1 and h2 then fit in the same pad ,