This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| limits:brazilianplotexample [2016/11/22 10:32] – iwn | limits:brazilianplotexample [2017/09/18 15:19] (current) – iwn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{ limits: | + | {{ limits: |
| To be used with [[plots: | To be used with [[plots: | ||
| Line 84: | Line 84: | ||
| # PLOT upper limits | # PLOT upper limits | ||
| def plotUpperLimits(labels, | def plotUpperLimits(labels, | ||
| - | # see CMA plot guidelines: https:// | + | # see CMS plot guidelines: https:// |
| | | ||
| N = len(labels) | N = len(labels) | ||
| Line 106: | 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 = TCanvas(" | ||
| c.SetFillColor(0) | c.SetFillColor(0) | ||