ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/wangdy/sys/rootstyle.py
(Generate patch)

Comparing UserCode/wangdy/sys/rootstyle.py (file contents):
Revision 1.2 by wangdy, Fri Jan 18 11:33:19 2008 UTC vs.
Revision 1.3 by wangdy, Fri Jan 18 15:51:18 2008 UTC

# Line 1 | Line 1
1   ##
2   ## $Log$
3 + ## Revision 1.3  2008/01/18 15:51:18  wangdy
4 + ## adjust top margin of the pad w/(o) title
5 + ##
6   ## Revision 1.2  2008/01/18 11:33:19  wangdy
7   ## add setting for title color
8   ##
# Line 18 | Line 21 | def atlasstyle():
21  
22      global atlasStyle
23      ##.. style from RooLogon.C in workdir
24 < ##     atlasStyle=TStyle("ATLAS","Atlas style")
24 >    ## atlasStyle=TStyle("ATLAS","Atlas style")
25  
26      ## use plain black on white colors
27      icol=0
# Line 32 | Line 35 | def atlasstyle():
35  
36      ## set the paper & margin sizes
37      atlasStyle.SetPaperSize(20,26)
38 <    atlasStyle.SetPadTopMargin(0.05)
38 >
39 >    ## with title:0.07 ;no title:0.05    
40 >    atlasStyle.SetPadTopMargin(0.07)
41      atlasStyle.SetPadRightMargin(0.05)
42 <    atlasStyle.SetPadBottomMargin(0.16)
42 >
43 >    ## with title:0.14 ;no title:0.16        
44 >    atlasStyle.SetPadBottomMargin(0.14)
45      atlasStyle.SetPadLeftMargin(0.12)
46  
47      ## use large fonts
# Line 91 | Line 98 | def tdrstyle():
98      Here is CMS ptdr style
99      """
100      global tdrStyle
101 < #     tdrStyle = TStyle("tdrStyle","Style for P-TDR")
101 >    ## tdrStyle = TStyle("tdrStyle","Style for P-TDR")
102  
103      ## For the canvas:
104      tdrStyle.SetCanvasBorderMode(0)
# Line 228 | Line 235 | def tdrstyle():
235   atlasStyle=TStyle("ATLAS","Atlas style")
236   tdrStyle = TStyle("tdrStyle","Style for P-TDR")
237   if __name__ == '__main__':
238 < ## default style
238 >    ## default style
239      gROOT.SetStyle("Plain")
240      gStyle.SetOptStat(1111111)
241      gStyle.SetPadTickX(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines