Updated Matlab, figures generated from previous code have a black background.
4 views (last 30 days)
Show older comments
I have recently updated Matlab to the 2017 version. Now all my figures (using older M-code) have a black background. I remember this behavior from previous updates. How can I adjust for this unwanted settings?
Answers (1)
Steven Lord
on 13 Jun 2017
My suspicion is that you called whitebg or colordef and that toggled the background colors for your figures. Do you call one of those functions in your startup.m file? If not, did you change the default property value for the figure background color like in the "Specify Default Values" and "Where in Hierarchy to Define Default" examples on that documentation page?
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!