|
[Rivet-svn] r3786 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 2 10:40:26 BST 2012
Author: hoeth Date: Mon Jul 2 10:40:26 2012 New Revision: 3786 Log: adjust cut-off for decimal precision when plotting axis label Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Mon Jul 2 08:34:30 2012 (r3785) +++ trunk/bin/make-plots Mon Jul 2 10:40:26 2012 (r3786) @@ -1798,7 +1798,7 @@ else: label = '10$^{'+sign+'\\text{'+str(abs(int(log10(value))))+'}}$' else: - if fabs(value) < 1e-8: value=0 + if fabs(value) < 1e-10: value=0 label=str(value) return label
More information about the Rivet-svn mailing list |