I have several contour plots on a cylinder that I made in MatLab. In some of them the black text from the colorbar is obstructed by dark colors in the plot. In others, the color of the text is fine so I would rather not change the color of the text. Is there an easy way in MatLab to put a rectangular patch (either white or gray) neatly around the colorbar and the surrounding text but behind it so that only a small amount of the contour is hidden?
I've given a link to 4 .fig files on google drive (they're too big to attach), and a .png of one of them where I put a white block around the colorbar (I would like it to be filled and behind the colorbar but in front of the contour) to show what I am hoping to get.
Best Answer