aboutsummaryrefslogtreecommitdiffstats
path: root/utils/plot.py
diff options
context:
space:
mode:
authorshivesh <s.p.mandalia@qmul.ac.uk>2018-11-20 23:28:31 -0600
committershivesh <s.p.mandalia@qmul.ac.uk>2018-11-20 23:28:31 -0600
commitc93fdd6d39f8adf059a61ac7e1bc017699e8bfa7 (patch)
treec46c8760cc447a2e3baff88e262501b4204842c5 /utils/plot.py
parent7f047af009d7e8dd1dee9511e36af3b2deca5237 (diff)
downloadGolemFlavor-c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7.tar.gz
GolemFlavor-c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7.zip
Tue 20 Nov 23:28:31 CST 2018
Diffstat (limited to 'utils/plot.py')
-rw-r--r--utils/plot.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/utils/plot.py b/utils/plot.py
index 53a4a84..6cbc4f5 100644
--- a/utils/plot.py
+++ b/utils/plot.py
@@ -627,18 +627,18 @@ def plot_sens_fixed_angle_pretty(data, outfile, outformat, args):
plt.setp(legend.get_title(), fontsize='11')
legend.get_frame().set_linestyle('-')
- # if show_data: ybound = 0.595
- # else: ybound = 0.73
- # if args.data is DataType.REAL and show_data:
- # # fig.text(0.295, 0.684, 'IceCube Preliminary', color='red', fontsize=13,
- # fig.text(0.278, ybound, r'\bf IceCube Preliminary', color='red', fontsize=13,
- # ha='center', va='center', zorder=11)
- # elif args.data is DataType.REALISATION:
- # fig.text(0.278, ybound-0.05, r'\bf IceCube Simulation', color='red', fontsize=13,
- # ha='center', va='center', zorder=11)
- # else:
- # fig.text(0.278, ybound, r'\bf IceCube Simulation', color='red', fontsize=13,
- # ha='center', va='center', zorder=11)
+ if show_data: ybound = 0.595
+ else: ybound = 0.73
+ if args.data is DataType.REAL and show_data:
+ # fig.text(0.295, 0.684, 'IceCube Preliminary', color='red', fontsize=13,
+ fig.text(0.278, ybound, r'\bf IceCube Preliminary', color='red', fontsize=13,
+ ha='center', va='center', zorder=11)
+ elif args.data is DataType.REALISATION:
+ fig.text(0.278, ybound-0.05, r'\bf IceCube Simulation', color='red', fontsize=13,
+ ha='center', va='center', zorder=11)
+ else:
+ fig.text(0.278, ybound, r'\bf IceCube Simulation', color='red', fontsize=13,
+ ha='center', va='center', zorder=11)
misc_utils.make_dir(outfile)
for of in outformat: