|
[Rivet] Sigma-unit error bandsAndy Buckley andy.buckley at ed.ac.ukThu Mar 31 10:35:21 BST 2011
On 29/03/11 10:55, David Grellscheid wrote: > >> I thought that when switched to (IIRC) RatioPlotStyle=deviation, the >> default ratio y label became "Deviation". Is that not happening? > > See e.g. > > http://www.ippp.dur.ac.uk/~richardn/qed/plots4/D0_2010_S8570965/d01-x01-y01.png Hmm, this is in the make-plots code: if inputdata.description.has_key('RatioPlotMode') and inputdata.description['RatioPlotMode']=='deviation': inputdata.description['YLabel']='$(\\text{MC}-\\text{data})$' inputdata.description['YMin']=-3.5 inputdata.description['YMax']=3.5 else: inputdata.description['YLabel']='MC/data' inputdata.description['YMin']=0.5 inputdata.description['YMax']=1.5 So I don't understand why it wouldn't be working. I've not had time to check it yet, though. You can set the label explicitly with RatioPlotYLabel. Hendrik, can you check to see if the intended default behaviour isn't working properly? I don't think we set this explicitly in compare-histos... Andy -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |