|
[Rivet-svn] r2492 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jun 21 16:32:34 BST 2010
Author: hoeth Date: Mon Jun 21 16:32:41 2010 New Revision: 2492 Log: fix #378 Modified: trunk/bin/compare-histos Modified: trunk/bin/compare-histos ============================================================================== --- trunk/bin/compare-histos Sun Jun 20 23:37:23 2010 (r2491) +++ trunk/bin/compare-histos Mon Jun 21 16:32:41 2010 (r2492) @@ -129,7 +129,7 @@ ## Line styles - COLORS = ('red', 'blue', 'blue!8!red!8!green', 'orange', 'magenta') + COLORS = ('red', 'blue', 'blue!8!red!8!green', 'magenta', 'orange') LINESTYLES = ('solid', 'dashed', 'dotted') STYLES=[] for ls in LINESTYLES: @@ -192,6 +192,8 @@ xlabels[dpsname] = h.xlabel ylabels[dpsname] = h.ylabel else: + if dpsname.count('/') > 2: + dpsname = '/' + dpsname.split('/',2)[-1] titles[dpsname] = h.title xlabels[dpsname] = h.xlabel ylabels[dpsname] = h.ylabel
More information about the Rivet-svn mailing list |