Hey guys,
I have two histograms on one canvas and I want the fancy looking legend to be displayed for both H1 and H2. However, it is only displayed for H1. How can I get H2’s legend on the same canvas? I tried creating it manually (only to show entries for now) but it didn’t go as planned:
legend1 = ROOT.TLegend(0.8, 0.5 , 0.95, 0.65)
ROOT.SetOwnership(legend1,False)
legend1.SetBorderSize(1)
legend1.SetShadowColor(2)
legend1.SetHeader("H2")
legend1.AddEntry("entries","Entries "+str(cutTree.GetEntries()))
legend1.SetTextSize(0.04)
legend1.SetTextColor(1)
legend1.Draw("same")
(Ignore the text size and everything for now. It’s just a question of how do I get it to look as “formal” as it is for H1. Any help is appreciated
Diyon