19 ROOT.gStyle.SetOptStat(0)
21 c1 = ROOT.TCanvas(
"c1",
"fit residual simple")
22 h1 = ROOT.TH1D(
"h1",
"h1", 50, -5, 5)
24 h1.FillRandom(
"gaus", 2000)
26 h1.GetXaxis().SetTitle(
"x")
28 rp1 = ROOT.TRatioPlot(h1)
30 rp1.GetLowerRefYaxis().SetTitle(
"ratio")
31 rp1.GetUpperRefYaxis().SetTitle(
"entries")