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

Comparing UserCode/RootMacros/overlayHists.py (file contents):
Revision 1.4 by klukas, Thu Nov 19 19:42:07 2009 UTC vs.
Revision 1.5 by klukas, Thu Nov 19 21:06:14 2009 UTC

# Line 113 | Line 113 | def process_directory(path, files):
113                  y_title = "Fraction of Events in Bin"
114              hist.Draw()
115              stack = ROOT.THStack("st%.3i" % int(counter), title)
116 <            legend = ROOT.TLegend(0.65, 0.77, 0.87, 0.89)
116 >            legend_height = 0.04 * len(files) + 0.02
117 >            legend = ROOT.TLegend(0.65, 0.89 - legend_height, 0.87, 0.89)
118              c1.SetLogx("Logx" in name)
119              c1.SetLogy("Logy" in name)
120              for i, file in enumerate(files):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines