Producing 3 contours instead of 2 on plots
Posted: May 24 2017
Dear Anthony et al,
a (probably) easy question here! Usually the 2D and triangular plots, plotted through the scripts produced by getdist, have 2 contours, representing the joint 68% and 95% C.L. regions.
Now say I want to plot a third contour (e.g. 99%), where do I have to go and modify the code in order to do that? In python/getdist/analysis_defaults.ini I already have:
so that can't be what I have to modify. I tried modifying python/getdist/plots.py, in particular on line 147:
changing the 2 to 3 and on line 533:
changing the 2 to 3, but neither worked.
Any ideas? Thank you very much in advance!
Cheers,
Sunny
a (probably) easy question here! Usually the 2D and triangular plots, plotted through the scripts produced by getdist, have 2 contours, representing the joint 68% and 95% C.L. regions.
Now say I want to plot a third contour (e.g. 99%), where do I have to go and modify the code in order to do that? In python/getdist/analysis_defaults.ini I already have:
Code: Select all
#Confidence limits for marginalized constraints.
#Also used for 2D plots, but only number set by plot settings actually shown
contours = 0.68 0.95 0.99
Code: Select all
self.num_plot_contours = 2
Code: Select all
def get_density_grid(self, root, param1, param2, conts=2, likes=False):
Any ideas? Thank you very much in advance!
Cheers,
Sunny