[Rivet] Plot multiple histograms from one yoda on same canvas

Andy Buckley andy.buckley at cern.ch
Thu Mar 19 22:29:13 GMT 2015


On 06/03/15 22:18, Christian Johnson wrote:
> Hi Rivet team,
> 
> I have a feature request. There may already be a method for this, if so then please let me know.
> 
> I have run into a few occasions where it is useful to compare several plots from the same yoda file (e.g. control region distribution comparison, etc…) on the same canvas. I have not been able to figure out a simple way to do this other than building the “*.dat” file myself and then using make-plots. I am sure there is an easier way using the YODA framework.

Hi Christian,

We don't have a ready-made script in Rivet for that, but I just released
a new version of YODA (1.3.1) which includes a new yoda.plotting Python
module and yodaplot script that might help. There is also a yodacmp
script which might be worth look at as an example of how to
programmatically make .dat files that could be plotted with yodaplot or
make-plots.

We're looking to improve the plotting and plot handling functionality
over time, although it's definitely a side-project relative to the Rivet
physics content. So please let us know what does and doesn't work for you!

Cheers,
Andy

-- 
Dr Andy Buckley, Lecturer / Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow


More information about the Rivet mailing list