setting transparancy of legend?
173 views (last 30 days)
More Answers (2)
Ilja Maljutenko on 19 May 2021
This solution seems to work in Matlab 2020 +
h_leg.BoxFace.ColorData=uint8(255*[1 1 1 0.75]');
where h_leg is your legend box handle.
Wilson A N on 16 Jan 2017
Edited: Walter Roberson on 16 Jan 2017
You can refer to the link given below on how to set the different properties of legend
To change the background color of the legend you can change the 'Color' field to achieve the required transparency.