[Rivet] plotting questions

Andy Buckley andy.buckley at ed.ac.uk
Sat Mar 13 13:54:27 GMT 2010


On 12/03/10 11:25, Alexander Richards wrote:
> Hi Andy,
> Just  a few quick formatting questions if you'd indulge me.

Hi Alex,

These questions are probably best sent to the Rivet list -- I don't know
many details about the plotting script. Hendrik knows the details, but I
think is on holiday at the moment... anyway, I've taken the liberty of
copying this to the list in case others can help.

> 1) I'm editing the .dat file produced with the standard compare-histos
> macro to add an X axis title. However when I use the make-plots script
> the x title doesn't appear. I even tried giving the title to the
> RatioPlotXLabel but again was thwarted! Do you know where I'm going wrong?

Not without more details! Is there some invalid LaTeX in the title that
could be causing problems? There is a switch on make-plots which will
keep the TeX file and log for debugging.

> 2) When editing the colour/existance of the error bands I am using the
> following lines in the .dat file.
> RatioPlotErrorBandColor=green
> ErrorBands=1
> ErrorBandColor=green
> The colour change for both seems to work as do setting the existence of
> them on the main plot (line 2) work for the legend but the actual plot
> data  points have no error bands visible.

Frank has played more with the error bands than I have: maybe he can help...

> 3) when specifying the colours such as green above is there a way to
> give rgb values?

I think so, but offhand I'm not sure about the details! Have you checked
the make-plots HTML manual? All the drawing is implemented via pstricks,
so at least in principle any line specs supported by it can be used,
provided that the script passes them through.

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh


More information about the Rivet mailing list