|
[Rivet-svn] rivet: Add cmphistos and make-plots machinery for handling 'suff...Rivet Mercurial rivet at projects.hepforge.orgWed Dec 16 00:00:02 GMT 2015
details: https://rivet.hepforge.org/hg/rivet/rev/7afa5158a8ce branches: release-2-4-x changeset: 4954:7afa5158a8ce user: Andy Buckley <andy at insectnation.org> date: Tue Dec 15 23:47:06 2015 +0000 description: Add cmphistos and make-plots machinery for handling 'suffix' variations on plot paths, currently just by plotting every line, with the variations in a 70% faded tint. diffs (truncated from 215 to 50 lines): --- a/ChangeLog Tue Dec 15 22:13:13 2015 +0000 +++ b/ChangeLog Tue Dec 15 23:47:06 2015 +0000 @@ -1,5 +1,9 @@ 2015-12-15 Andy Buckley <andy.buckley at cern.ch> + * Add cmphistos and make-plots machinery for handling 'suffix' + variations on plot paths, currently just by plotting every line, + with the variations in a 70% faded tint. + * Add Beam::pv() method for finding the beam interaction primary vertex 4-position. --- a/bin/make-plots Tue Dec 15 22:13:13 2015 +0000 +++ b/bin/make-plots Tue Dec 15 23:47:06 2015 +0000 @@ -473,7 +473,13 @@ for pkg in opts.LATEXPKGS: out += ('\\usepackage{%s}\n' % pkg) out += ('\\usepackage{pst-all}\n') + out += ('\\usepackage{xcolor}\n') out += ('\\selectcolormodel{rgb}\n') + out += ('\\definecolor{red}{HTML}{EE3311}\n') # (Google uses 'DC3912') + out += ('\\definecolor{blue}{HTML}{3366FF}') + out += ('\\definecolor{green}{HTML}{109618}') + out += ('\\definecolor{orange}{HTML}{FF9900}') + out += ('\\definecolor{lilac}{HTML}{990099}') out += ('\\usepackage{amsmath}\n') out += ('\\usepackage{amssymb}\n') out += ('\\usepackage{relsize}\n') @@ -492,7 +498,7 @@ colorseries = inputdata.description['ColorSeries'] else: colorseries = '{hsb}{grad}[rgb]{0,0,1}{-.700,0,0}' - out += ('\\definecolorseries{gradientcolors}%s\n' %colorseries) + out += ('\\definecolorseries{gradientcolors}%s\n' % colorseries) out += ('\\resetcolorseries[130]{gradientcolors}\n') return out @@ -646,7 +652,7 @@ return def pickcolor(gof): - color=None + color = None colordefs = {} for i in inputdata.description.setdefault('GofFrameColor', '0:green 3:yellow 6:red!70').strip().split(): foo = i.split(':') @@ -668,7 +674,7 @@ if inputdata.description.has_key('GofType') and inputdata.description['GofType']!='chi2': return gof = inputdata.histos[i].getChi2(inputdata.histos[refdata])
More information about the Rivet-svn mailing list |