[Rivet-svn] rivet: Enable ratio-plot log scale by propagating RatioPlotLogY ...

Rivet Mercurial rivet at projects.hepforge.org
Tue Apr 3 13:15:01 BST 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/1240ec8f14f7
branches:  release-2-6-x
changeset: 6261:1240ec8f14f7
user:      Andy Buckley <andy at insectnation.org>
date:      Tue Apr 03 13:12:58 2018 +0100
description:
Enable ratio-plot log scale by propagating RatioPlotLogY to LogY internally

diffs (11 lines):

--- a/bin/make-plots	Tue Apr 03 12:06:57 2018 +0100
+++ b/bin/make-plots	Tue Apr 03 13:12:58 2018 +0100
@@ -880,7 +880,7 @@
 
         inputdata.description['RatioPlotStage'] = True
         inputdata.description['PlotSizeY'] = inputdata.description['RatioPlotSizeY']
-        inputdata.description['LogY'] = False  # TODO: actually, log ratio plots could be useful...
+        inputdata.description['LogY'] = inputdata.description.get("RatioPlotLogY", False)
 
         # TODO: It'd be nice it this wasn't so MC-specific
         rpmode = inputdata.description.get('RatioPlotMode', "mcdata")


More information about the Rivet-svn mailing list