|
[Rivet] histogram legend with spaces and other charactersChris Pollard cpollard at cern.chMon May 23 16:34:51 BST 2016
Hi Raghav, Can you run rivet-mkhtml with the --verbose option in addition to your other options and send us the output? Cheers, Chris On Mon, May 23, 2016 at 4:30 PM, Raghav Kunnawalkam Elayavalli < raghav.k.e at cern.ch> wrote: > I just tried that it make-plots just hangs :( > > [rkunnawa at lxplus025 BKG]$ ls > 0_20_wRecoils.yoda 0_20.yoda 50_100_wRecoils.yoda 50_100.yoda plots > pp.yoda run.sh > [rkunnawa at lxplus025 BKG]$ rivet-mkhtml pp.yoda 0_20_wRecoils.yoda:"0-20%, > w/ Recoils" 0_20.yoda:"0-20%" 50_100_wRecoils.yoda:"50-100% w/ Recoils" > 50_100.yoda:"50-100%" > Making 7 plots > and i tried to stop it with Ctrl-C > ^CTraceback (most recent call last): > File "/afs/cern.ch/work/r/rkunnawa/JEWEL/local/bin/rivet-mkhtml", line > 434, in <module> > Popen(mp_cmd).wait() > File "/cvmfs/ > sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/subprocess.py", > line 1384, in wait > pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0) > File "/cvmfs/ > sft.cern.ch/lcg/releases/LCG_84/Python/2.7.10/x86_64-slc6-gcc48-opt/lib/python2.7/subprocess.py", > line 476, in _eintr_retry_call > return func(*args) > KeyboardInterrupt > [rkunnawa at lxplus025 BKG]$ dvips: ! DVI file can't be opened. > dvips: ! DVI file can't be opened. > dvips: ! DVI file can't be opened. > dvips: ! DVI file can't be opened. > convert: no decode delegate for this image format > `/tmp/rkunnawa/magick-ohQ9yH7y' @ error/constitute.c/ReadImage/532. > convert: missing an image filename `JetMass.png' @ > error/convert.c/ConvertImageCommand/3015. > convert: no decode delegate for this image format > `/tmp/rkunnawa/magick-_fcqD62y' @ error/constitute.c/ReadImage/532. > .... > GPL Ghostscript 8.70: ERROR -12 closing pdfwrite device. See > gs/src/ierrors.h for code explanation. > > > On May 23, 2016, at 5:22 PM, Andy Buckley <a.g.buckley at gmail.com> wrote: > > Hi Raghav, > > You can give arbitrary histogram names on the command line like this: > > rivet-mkhtml a.yoda:A b.yoda:"Histo B" c.yoda:'$\mathcal{C}$' > > where the labels get increasingly silly from left to right. This is just a > convenient way of setting the Title attribute in each HISTOGRAM block in > the .dat files: those are used in the legend, while the Title of the PLOT > block (if given) is written at the top of the plot. > > Andy > > > On 23/05/16 13:26, Raghav Kunnawalkam Elayavalli wrote: > > Hi Rivet Experts, > > Its me again :) > > I have a question regarding histogram legends in the plot. At the moment, > if we dont give a specific title, then the name of the yoda file is taken > as the legend. Even if i try to give a different title, it has to be one > without any spaces or special characters. for example i have a histogram > that i ideally want to label > 0-20%, w/ recoils > but this wont get accepted now and make-plots just crashes. I have to say > it like so 0_20_wRecoils and that works. Is there a way i can give my > custom legend to the histogram. I see that you can give a custom legend in > the make plot documentation page, but it looks like its only for the plot > as opposed to a specific histogram? > > Cheers > Raghav > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > > > > -- > Dr Andy Buckley, Lecturer / Royal Society University Research Fellow > Particle Physics Expt Group, University of Glasgow > > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20160523/54361234/attachment.html>
More information about the Rivet mailing list |