TRatioPlot multiple ratios


ROOT Version: 5.10
Platform: Slc6
Compiler:


Hi,

I have tried to follow the instructions here:

but it seems to me that given that the method GetLowerRefGraph() requires the TRatioPlot ratio2 to be drawn first. And If ratio2 is drawn then the whole Canvas gets messed up and the ratio2 is not drawn (h2 is however properly plotted on the upper pad). The macro I am using can be found here (*)

Thanks for your help

(*) —

/afs/cern.ch/work/s/selvaggi/public/tratio2.py

May be you need a gPad->Update() before retrieving the lower pad.

Try to draw these two ratio plots in two separate canvases (then extract what you need).

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