From c93fdd6d39f8adf059a61ac7e1bc017699e8bfa7 Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 20 Nov 2018 23:28:31 -0600 Subject: Tue 20 Nov 23:28:31 CST 2018 --- utils/plot.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'utils/plot.py') 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: -- cgit v1.2.3