Commit 2070e8a15795b1206c88493700fd78d3e871da9d
1 parent
10e2fb17
Change plot legend in benchmark_cta_analysis.py from "cube style" to "stacked".
Showing
1 changed file
with
3 additions
and
3 deletions
examples/benchmark_cta_analysis.py
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | # (unbinned, binned, stacked), and if matplotlib is installed, creates |
| 5 | 5 | # a plot of the benchmark results. |
| 6 | 6 | # |
| 7 | -# Copyright (C) 2014-2015 Jurgen Knodlseder | |
| 7 | +# Copyright (C) 2014-2016 Jurgen Knodlseder | |
| 8 | 8 | # |
| 9 | 9 | # This program is free software: you can redistribute it and/or modify |
| 10 | 10 | # it under the terms of the GNU General Public License as published by |
| ... | ... | @@ -171,7 +171,7 @@ def binned_pipeline(duration): |
| 171 | 171 | # ========================= # |
| 172 | 172 | def stacked_pipeline(duration): |
| 173 | 173 | """ |
| 174 | - Cube-style analysis pipeline. | |
| 174 | + Stacked analysis pipeline. | |
| 175 | 175 | """ |
| 176 | 176 | # Set script parameters |
| 177 | 177 | model_name = "${CTOOLS}/share/models/crab.xml" |
| ... | ... | @@ -351,7 +351,7 @@ if __name__ == '__main__': |
| 351 | 351 | plt.title("CTA analysis benchmark") |
| 352 | 352 | plt.loglog(a_duration, a_unbinned, 'ro-', label='unbinned') |
| 353 | 353 | plt.loglog(a_duration, a_binned, 'bo-', label='binned') |
| 354 | - plt.loglog(a_duration, a_stacked, 'go-', label='cube-style') | |
| 354 | + plt.loglog(a_duration, a_stacked, 'go-', label='stacked') | |
| 355 | 355 | plt.loglog(a_duration, c_unbinned, 'ro--') |
| 356 | 356 | plt.loglog(a_duration, c_binned, 'bo--') |
| 357 | 357 | plt.loglog(a_duration, c_stacked, 'go--') | ... | ... |