|
[Rivet] changing legend for plotsHannes Jung hannes.jung at desy.deMon Apr 28 20:51:52 BST 2014
Dear Andy ahh, thanks a lot for this advice. I'll try it Cheers Hannes On 28.04.2014, at 21:11, Andy Buckley <andy.buckley at cern.ch> wrote: > On 26/04/14 14:57, Hannes Jung wrote: >> Dear Rivet developers >> >> I am trying to change the Legend in Rivet plots (still using aida files). >> Using CustomLegend in the plot file only adds an additional legend, >> but I would like to overwrite what is plotted for the data points, >> especially changing from "CMS" to "CMS preliminary". >> Where can I do this ? > > Hi Hannes, > > The best way would be to avoid rivet-mkhtml (which is just for > convenience) and use compare-histos and make-plots instead. If you use > compare-histos with the same args as you'd use on rivet-mkhtml it will > generate a set of .dat files. You can then edit these as you wish (e.g. > maybe use sed -e 's/CMS/CMS Preliminary/' -i *.dat to replace all the > CMS labels at once) and finally use make-plots *.dat to render the final > plots. > > Andy > > -- > Dr Andy Buckley, Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow / PH Dept, CERN *********************************************************************** Hannes Jung Email: Hannes.Jung at desy.de mobile :+49 40 8998 93741 http://www.desy.de/~jung Tel: +49 (0) 40 8998 3741 Fax: +49 (0) 40 8994 3741 DESY, CMS 01B/02.213 Notkestr.85, 22603 Hamburg, FRG ***********************************************************************
More information about the Rivet mailing list |