Priority and overlap on filled contours with Getdist
Posted: July 11 2020
Hello,
currently, I generate a triplot with 2 covariance matrixes where I have this kind of subplot :
As you can see, there is a almost totally masked red zone area (not shaded red) by the blue zone (shaded blue + true blue).
The blue zone seems to have priority in the drawing of contours whereas I would like that true red filled disk not te masked by the blue shaded zone (Nevertheless, I want the blue contours not be affected and keep their displaying).
How to change this priority in the overlapping of different area, especially when one wants to draw/put a 1 sigma filled contour of plain color over a 2 sigma shaded filled contour knowing the 1 sigma filled contour is smaller (plain red masked in my case) than the 2 shaded filled contour (blue shaded) ?
Here below an example where the 2 plain - 1 sigma contours red and blue are drawing (without affecting the contours). Don't take into accounf of yellow contours.
On this image, you can see clearly that both (1 sigma blue and red filled disk) are drawing with true red and blue colors (I mean not shaded).
Is it possible to do the same with some options of GetDist (in my case) ?
Regards
currently, I generate a triplot with 2 covariance matrixes where I have this kind of subplot :
As you can see, there is a almost totally masked red zone area (not shaded red) by the blue zone (shaded blue + true blue).
The blue zone seems to have priority in the drawing of contours whereas I would like that true red filled disk not te masked by the blue shaded zone (Nevertheless, I want the blue contours not be affected and keep their displaying).
How to change this priority in the overlapping of different area, especially when one wants to draw/put a 1 sigma filled contour of plain color over a 2 sigma shaded filled contour knowing the 1 sigma filled contour is smaller (plain red masked in my case) than the 2 shaded filled contour (blue shaded) ?
Code: Select all
# Call triplot
g.triangle_plot([matrix1, matrix2],
names,
filled = True,
legend_labels = ['Red contours - Surface of 2 sigma bigger, 'Blue ccontours - Surface of 2 sigma smaller'],
legend_loc = 'upper right',
contour_colors = ['red','darkblue'],
line_args = [{'lw':2, 'color':'red'},
{'lw':2, 'color':'darkblue'}],
)
On this image, you can see clearly that both (1 sigma blue and red filled disk) are drawing with true red and blue colors (I mean not shaded).
Is it possible to do the same with some options of GetDist (in my case) ?
Regards