13 gStyle->SetOptStat(0);
14 auto c1 =
new TCanvas(
"c1",
"fit residual simple");
15 auto h1 =
new TH1D(
"h1",
"h1", 50, -5, 5);
16 h1->FillRandom(
"gaus", 2000);
18 h1->GetXaxis()->SetTitle(
"x");
19 h1->GetYaxis()->SetTitle(
"y");
20 auto rp1 =
new TRatioPlot(h1);
21 rp1->SetConfidenceIntervalColors(kBlue, kRed);