Logo ROOT  
Reference Guide
ratioplot1.py File Reference


namespace  ratioplot1

Detailed Description

View in nbviewer Open in SWAN Example creating a simple ratio plot of two histograms using the pois division option.

Two histograms are set up and filled with random numbers. The constructor of TRatioPlot takes the to histograms, name and title for the object, drawing options for the histograms (hist and E in this case) and a drawing option for the output graph. Inspired by the tutorial of Paul Gessinger.

Definition in file ratioplot1.py.