|
[Rivet-svn] r2664 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Aug 18 17:36:35 BST 2010
Author: fsiegert Date: Wed Aug 18 17:36:35 2010 New Revision: 2664 Log: Automatically determine whether the ratio plot should be labelled 'MC/data' or just 'Ratio' Modified: trunk/bin/compare-histos Modified: trunk/bin/compare-histos ============================================================================== --- trunk/bin/compare-histos Wed Aug 18 16:03:59 2010 (r2663) +++ trunk/bin/compare-histos Wed Aug 18 17:36:35 2010 (r2664) @@ -394,10 +394,13 @@ "XTwosidedTicks" : "1", "YTwosidedTicks" : "1", "LegendYPos" : "0.92", - "RatioPlotReference" : "%s%s" % (ref, HISTOS[ref][name].fullPath())} + "RatioPlotReference" : "%s%s" % (ref, HISTOS[ref][name].fullPath()), + "RatioPlotYLabel" : "Ratio"} if opts.RATIO_DEVIATION: paramdefaults["RatioPlotMode"] = "deviation" + if HISTOS[ref][name].isdata: + paramdefaults["RatioPlotYLabel"] = "MC/data" headstr = "# BEGIN PLOT\n"
More information about the Rivet-svn mailing list |