15ROOT.gStyle.SetOptStat(0)
 
   17c1 = ROOT.TCanvas(
"c1", 
"fit residual simple")
 
   18ROOT.gPad.SetFrameFillStyle(0)
 
   20h1 = ROOT.TH1D(
"h1", 
"h1", 50, -5, 5)
 
   21h1.FillRandom(
"gaus", 5000)
 
   25h1.GetXaxis().SetTitle(
"x")
 
   26h1.GetYaxis().SetTitle(
"y")
 
   28rp1 = ROOT.TRatioPlot(h1, 
"errfunc")
 
   29rp1.SetGraphDrawOpt(
"L")
 
   30rp1.SetSeparationMargin(0.0)
 
   32rp1.GetLowerRefGraph().SetMinimum(-2)
 
   33rp1.GetLowerRefGraph().SetMaximum(2)