ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/scripts/plotAll.py
(Generate patch)

Comparing UserCode/GPetrucc/scripts/plotAll.py (file contents):
Revision 1.1 by gpetrucc, Tue Apr 28 18:02:22 2009 UTC vs.
Revision 1.2 by gpetrucc, Wed May 13 15:35:56 2009 UTC

# Line 71 | Line 71 | for f in args:
71          if match != None and match.search(k.GetName()) == None: continue
72          print "Got",k.GetName(),"of type",t
73          if t.find("TH2") != -1:
74 +            c1.cd()
75              o.Draw("COLZ")
76          elif t.find("TH1") != -1:
77 +            c1.cd()
78              if styles != []: setStyle(o)
79              o.Draw()
80              if yaxis != None:
# Line 87 | Line 89 | for f in args:
89          print "Wrote %s/%s.png" % (fbase,k.GetName())
90          c1.Print("%s/%s.png" % (fbase,k.GetName()))
91      for name,subs in stacks.items():
92 <        legend = ROOT.TLegend(.70,.98-0.04*len(subs),.98,.99)
92 >        legend = ROOT.TLegend(.65,.98-0.04*len(subs),.98,.99)
93          legend.SetTextFont(42); legend.SetTextSize(0.04); legend.SetFillColor(0);
94          o = theseitems[subs[0]]; i = -1
95          if styles != []: setStyle(o)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines