User Tools

Site Tools


limits:brazilianplotexample

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
limits:brazilianplotexample [2016/09/24 01:15] iwnlimits:brazilianplotexample [2017/09/18 15:19] (current) iwn
Line 1: Line 1:
-To be used with [[plot:CMS_lumi|CMS_lumi.py]] and [[plots:tdrstyle|tdrstyle.py]] for the [[https://ghm.web.cern.ch/ghm/plots/|CMS plot style]]:+{{ limits:upperlimit_brazilianplot.png ? 200 }} 
 + 
 +To be used with [[plots:CMS_lumi|CMS_lumi.py]] and [[plots:tdrstyle|tdrstyle.py]] for the [[https://ghm.web.cern.ch/ghm/plots/|CMS plot style]]:
  
 <file python BrazilianPlots.py> <file python BrazilianPlots.py>
Line 82: Line 84:
 # PLOT upper limits # PLOT upper limits
 def plotUpperLimits(labels,values): def plotUpperLimits(labels,values):
-    # see CMA plot guidelines: https://ghm.web.cern.ch/ghm/plots/+    # see CMS plot guidelines: https://ghm.web.cern.ch/ghm/plots/
          
     N = len(labels)     N = len(labels)
Line 104: Line 106:
     T = 0.08*H     T = 0.08*H
     B = 0.12*H     B = 0.12*H
-    L = 0.12*W*scaleleftmargin +    L = 0.12*W 
-    R = 0.04*W*scalerightmargin+    R = 0.04*W
     c = TCanvas("c","c",100,100,W,H)     c = TCanvas("c","c",100,100,W,H)
     c.SetFillColor(0)     c.SetFillColor(0)
limits/brazilianplotexample.1474672516.txt.gz · Last modified: 2016/09/24 01:15 by iwn