[Rivet] SetBinLabel

Sercan Sen Sercan.Sen at cern.ch
Wed Oct 24 13:30:55 BST 2012


Hi Frank,

Thanks for these examples ! XCustomMajorTicks solves the issue.

Cheers,
Sercan





On Oct 23, 2012, at 3:15 PM, Andy Buckley wrote:

Hi Frank,

Oh yes -- good point! I had programmatic specification of labels (or
more generally a new data type styled on map<string, Distribution>) in
mind, but indeed the desired visual effect can be achieved in make-plots
by explicit styling.

Andy


On 23/10/12 14:17, Frank Siegert wrote:
Hi Sercan, Andy,

Maybe I misunderstand the question, but I think bin labels are already
possible with the XCustomMajorTicks etc. options documented in
http://rivet.hepforge.org/make-plots.html .
Two examples would be
http://rivet.hepforge.org/trac/browser/trunk/data/plotinfo/ATLAS_2011_I944826.plot
http://rivet.hepforge.org/trac/browser/trunk/data/plotinfo/STAR_2006_S6860818.plot

Cheers,
Frank

On 23 October 2012 12:56, Andy Buckley <andy.buckley at ed.ac.uk<mailto:andy.buckley at ed.ac.uk>> wrote:
Not yet, no: the bins in Rivet are purely numeric. We'll be introducing
a distinct type for labelled bins eventually... I wish it could happen
sooner, but we have very little manpower available to do this (and we
tried ROOT as a replacement histogram system... too many problems)

Andy


On 23/10/12 12:34, Sercan Sen wrote:

Hello,

Is there a way to set the bin labels (NOT axis label) of an histogram in Rivet ? i.e., SetBinLabel in ROOT.

Thanks,
Sercan

_______________________________________________
Rivet mailing list
Rivet at projects.hepforge.org<mailto:Rivet at projects.hepforge.org>
http://www.hepforge.org/lists/listinfo/rivet



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

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Rivet mailing list
Rivet at projects.hepforge.org<mailto:Rivet at projects.hepforge.org>
http://www.hepforge.org/lists/listinfo/rivet
_______________________________________________
Rivet mailing list
Rivet at projects.hepforge.org<mailto:Rivet at projects.hepforge.org>
http://www.hepforge.org/lists/listinfo/rivet



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

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.hepforge.org/lists-archive/rivet/attachments/20121024/5d83c03b/attachment.html>


More information about the Rivet mailing list