Hello,
I want to put legend in macro and to give different colors to the different distributions. I did like
TH1F *mylegend = new TLegend(.7,.75,.89,.89);
mylegend->SetFillColor(0);
mylegend->SetBorderSize(0);
mylegend->SetTextSize(0.030);
mylegend->AddEntry(myhist_1,“bjet1Eta_official_code”,“l”);
mylegend->Draw();
Also please suggest me about colors.