I have created a contour plot in MATLAB using the CONTOUR command. I now want to draw a transparent patch object that will partly overlap with the contour plot created earlier. I am aware that if the graphics objects front-back order cannot be distinguished by their location in three-dimensional space, then the objects are ordered front-to-back according to the location of their handles in the parent object's 'Children' list. Those objects whose handles appear near the front of the list are in front of those whose handles appear near the end.
Hence I create the contour plot first and then create the overlapping patch. I use the 'facealpha' property to make the patch transparent. However the contours are always rendered on top of the patch instead of the other way around. Changing the renderer does not resolve the issue. The issue becomes more serious when the contour plots are filled and hence the patch is completely hidden by the plot.
Best Answer