[Rivet-svn] r3017 - in trunk: . bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sun Mar 13 20:01:38 GMT 2011


Author: hoeth
Date: Sun Mar 13 20:01:37 2011
New Revision: 3017

Log:
make-plots: fill functions in a (hopefully) more intuitive way

Modified:
   trunk/ChangeLog
   trunk/bin/make-plots

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Sat Mar 12 20:48:38 2011	(r3016)
+++ trunk/ChangeLog	Sun Mar 13 20:01:37 2011	(r3017)
@@ -1,3 +1,7 @@
+2011-03-13  Hendrik Hoeth <hendrik.hoeth at cern.ch>
+
+	* filling of functions works now in a more intuitive way (I hope).
+
 2011-03-09  Andy Buckley  <andy at insectnation.org>
 
 	* Version 1.5.0 release!

Modified: trunk/bin/make-plots
==============================================================================
--- trunk/bin/make-plots	Sat Mar 12 20:48:38 2011	(r3016)
+++ trunk/bin/make-plots	Sun Mar 13 20:01:37 2011	(r3017)
@@ -1070,10 +1070,15 @@
         dx = (xmax-xmin)/500.
         x = xmin-dx
         out += '\\pscurve'
+        if self.description.has_key('FillStyle') and self.description['FillStyle']!='none':
+            out += '(%s,%s)\n' % (coors.strphys2frameX(xmin),coors.strphys2frameY(coors.ymin()))
         while x < (xmax+2*dx):
             y = self.plotfunction(x)
             out += ('(%s,%s)\n' % (coors.strphys2frameX(x), coors.strphys2frameY(y)))
             x += dx
+        if self.description.has_key('FillStyle') and self.description['FillStyle']!='none':
+            out += '(%s,%s)\n' % (coors.strphys2frameX(xmax),coors.strphys2frameY(coors.ymin()))
+        print xmin, xmax, coors.ymin()
         out += self.stoppsset()
         out += self.stopclip()
         return out


More information about the Rivet-svn mailing list