This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
limits:brazilianplotexample [2016/08/07 10:28] – iwn | limits:brazilianplotexample [2017/09/18 15:19] (current) – iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{ limits: | ||
+ | |||
+ | To be used with [[plots: | ||
+ | |||
<file python BrazilianPlots.py> | <file python BrazilianPlots.py> | ||
Line 32: | Line 36: | ||
" | " | ||
#" | #" | ||
- | " | + | " |
#" | #" | ||
] | ] | ||
Line 80: | 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 102: | 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) |