Difference: TimothyBrooks (24 vs. 25)

Revision 2510 Jun 2010 - TimothyBrooks

Line: 1 to 1

Tim Brooks

First Year PhD Student - Supervised by Glen Cowan
Line: 112 to 112
 AddEntry takes the histogram handle, a title for that histogram, and an option that is either "f" for boxes or "l" for lines.
SetFillStyle(0) makes the legends background transparent and adds a border. Alternatively, you can SetFillColor(kWhite) for a white background with no border. (Make sure you don't lose and datapoints behind it!)

Setting up axis

h->GetXaxis()->SetNdivisions(105) -Sets ticks such that there is exactly one per bin.


ATLAS Software Links

ATLAS software information in the wiki:
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback