Why is my plotting background messed up?
Show older comments
Hey everyone. For some reason, when I try to plot, it plots fine, but the background color of the plot is yellow.
Can anyone tell me why and how to get it back to the default white/gray background?<>
Answers (1)
Matt Fig
on 2 Nov 2012
What commands do you use to create the plot?
set(gca,'color','w')
2 Comments
Benjamin Clenney
on 2 Nov 2012
Matt Fig
on 2 Nov 2012
set(gcf,'color',[.8 .8 .8])
If your question has been answered, please accept the answer.
Categories
Find more on 2-D and 3-D Plots 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!