This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| limits:brazilianplotexample [2016/09/22 22:19] – iwn | limits:brazilianplotexample [2017/09/18 15:19] (current) – iwn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | To be used with [[plot: | + | {{ limits: |
| + | |||
| + | To be used with [[plots: | ||
| <file python BrazilianPlots.py> | <file python BrazilianPlots.py> | ||
| Line 34: | Line 36: | ||
| " | " | ||
| #" | #" | ||
| - | " | + | " |
| #" | #" | ||
| ] | ] | ||
| Line 82: | 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 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 = TCanvas(" | ||
| c.SetFillColor(0) | c.SetFillColor(0) | ||
| Line 203: | Line 205: | ||
| | | ||
| </ | </ | ||
| - | |||