void exclusiongraphlegend() { TCanvas *c1 = new TCanvas("c1","Exclusion graphs examples",200,10,600,400); const Int_t n = 35; Double_t xvalues[n], yvalues[n]; for (Int_t i=0;iSetLineColor(4); gr->SetLineWidth(-2002); gr->SetFillStyle(3004); gr->SetFillColor(9); gr->SetTitle(""); gr->Draw("AC"); TLegend *leg = new TLegend(0.7,0.8,0.9,0.9); leg->SetFillColor(0); leg->SetBorderSize(0); leg->SetTextSize(0.05); leg->SetTextFont(42); leg->AddEntry(gr,"exclusion","lf"); leg->Draw(); }