I’d like to compare several histograms to a reference histogram and I started doing this using TRatioPlot (which I find a great update in the latest ROOT versions).
I see that the TRatioPlot only supports two histograms in the constructor:
so I tried to define a TRatioPlot for each histogram I want to compare to the reference but, as far as I understand, I can’t Draw more than one TRatioPlot on the same Canvas, e.g. (I am using pyroot):
ratio1.Draw()
ratio2.Draw('same')
doesn’t show superimposed TRatioPlots as it would do if ratio1 and ratio2 were histograms.
Hi @couet
thanks for the feedback, it is useful!
I guess I am also missing another piece of info: I also want to retrieve the histograms so that I can plot them on the (top and bottom) canvases. Let me give you an example: