[Rivet-svn] r2839 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Dec 8 17:27:36 GMT 2010


Author: hoeth
Date: Wed Dec  8 17:27:35 2010
New Revision: 2839

Log:
RatioPlotYLabel centered on y-axis of the ratio plot

Modified:
   trunk/bin/make-plots

Modified: trunk/bin/make-plots
==============================================================================
--- trunk/bin/make-plots	Wed Dec  8 14:37:25 2010	(r2838)
+++ trunk/bin/make-plots	Wed Dec  8 17:27:35 2010	(r2839)
@@ -525,6 +525,7 @@
             inputdata.description['YMax']=1.5
         if inputdata.description.has_key('RatioPlotYLabel'):
             inputdata.description['YLabel']=inputdata.description['RatioPlotYLabel']
+        inputdata.description['YLabel']='\\rput(-%s,0){%s}'%(0.5*inputdata.description['PlotSizeY']/inputdata.description['PlotSizeX'],inputdata.description['YLabel'])
         if inputdata.description.has_key('RatioPlotYMin'):
             inputdata.description['YMin']=inputdata.description['RatioPlotYMin']
         if inputdata.description.has_key('RatioPlotYMax'):


More information about the Rivet-svn mailing list