|
[Rivet-svn] r2661 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Aug 18 14:34:48 BST 2010
Author: hoeth Date: Wed Aug 18 14:34:47 2010 New Revision: 2661 Log: fix error band drawing Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Wed Aug 18 11:09:11 2010 (r2660) +++ trunk/bin/make-plots Wed Aug 18 14:34:47 2010 (r2661) @@ -655,7 +655,7 @@ out += ('\\rput[Bl](-0.35,' + str(ypos) + '){' + title + '}\n') out += ('\\rput[Bl](-0.35,%s){%s\n' %(ypos,'%')) if drawobject.getErrorBands(): - out += ('\\psframe[linecolor=%s,fillstyle=solid,fillcolor=%s]' %(drawobject.getErrorBandColor(),drawobject.getErrorBandColor())) + out += ('\\psframe[linewidth=0pt,linestyle=none,fillstyle=solid,fillcolor=%s]' %drawobject.getErrorBandColor()) out += ('(-0.10, 0.033)(-0.02, 0.001)\n') out += ('\\psline[linestyle=' + drawobject.getLineStyle() \ + ', linecolor=' + drawobject.getLineColor() \ @@ -1150,7 +1150,7 @@ else: if self.getErrorBands(): for i in range(len(self.data)): - out += ('\\psframe[dimen=outer,linecolor=%s,fillstyle=solid,fillcolor=%s]' %(self.getErrorBandColor(),self.getErrorBandColor())) + out += ('\\psframe[dimen=inner,linewidth=0pt,linestyle=none,fillstyle=solid,fillcolor=%s]' %self.getErrorBandColor()) out += ('(' + coors.strphys2frameX(self.data[i]['LowEdge']) + ', ' \ + coors.strphys2frameY(self.data[i]['Content']-self.data[i]['Error'][0]) + ')(' \ + coors.strphys2frameX(self.data[i]['UpEdge']) + ', ' \
More information about the Rivet-svn mailing list |