Dear all,
the following macro:
void LegTest(){
TFile *f=new TFile(“Input/Resolutions/MC/MEt_Zee.root”);
TH1D *ZeeMC=f->Get(“tot_Fit_perp”);
ZeeMC->SetFillColor(kBlue);
ZeeMC->Draw();
TLegend *leg=new TLegend(0.65, 0.65, 0.95, 0.95);
leg->AddEntry(“ZeeMC”, “ZeeMC”, “f”);
leg->Draw(“SAMES”);
}
is giving me the attached plot. Any ideas as to why the box in the legend not filled (ie why is it not blue)?
TLegend.pdf (12.9 KB)