|
[Rivet-svn] r1979 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Nov 2 23:38:24 GMT 2009
Author: hoeth Date: Mon Nov 2 23:38:23 2009 New Revision: 1979 Log: make-plots: improve alignment of tickmark labels, especially on y-axis Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Mon Nov 2 20:38:21 2009 (r1978) +++ trunk/bin/make-plots Mon Nov 2 23:38:23 2009 (r1979) @@ -1296,7 +1296,7 @@ def draw_majorticklabel(self, value, label=''): if label=='': label=self.get_ticklabel(value,self.description['LogX']) - return ('\\rput('+coors.strphys2frameX(value)+', 0){\\rput[B](0,-2.3\\labelsep){'+label+'}}\n') + return ('\\rput('+coors.strphys2frameX(value)+', 0){\\rput[B](0,-2.3\\labelsep){\\strut'+label+'}}\n') @@ -1334,7 +1334,7 @@ def draw_majorticklabel(self, value, label=''): if label=='': label=self.get_ticklabel(value,self.description['LogY']) - return ('\\uput[180]{0}(0, '+coors.strphys2frameY(value)+'){'+label+'}\n') + return ('\\uput[180]{0}(0, '+coors.strphys2frameY(value)+'){\\strut{}'+label+'}\n')
More information about the Rivet-svn mailing list |