ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
Hello Root Experts.
I just want to know what to do to this case. I cant draw the yellow-color error bar, it just draw the error bar but didnt fill it with yellow as sen in the image.
. By the way, this is a part of my code that makes the drawing.
auto gr = new TGraphAsymmErrors(n,x,y,exl,exh,eyl,eyh);
// gr->SetTitle(“TGraphAsymmErrors Example”);
gr->GetYaxis()->SetRangeUser(0.000000001, 0.001);
gr->SetFillColor(kGreen);
gr->Draw(“a3”);
auto gr2 = new TGraphAsymmErrors(n,x,y,exl,exh,eyl2,eyh2);
gr2->GetYaxis()->SetRangeUser(0.000000001, 0.001);
gr2->SetFillColor(kYellow);
gr2->Draw(“same”);
auto gr3 = new TGraph(n, x,cross_section_BL );
gr3->GetYaxis()->SetRangeUser(0.000000001, 0.001);
gr3->SetLineColor(kRed);
gr3->SetLineWidth(5);
gr3->Draw(“same”);
The gr2 supposedly is the yellow error bar but it cannot be seen, i think it has something to do with the option in DRAW().