Why is my plotting background messed up?
显示 更早的评论
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?<>
回答(1 个)
Matt Fig
2012-11-2
What commands do you use to create the plot?
set(gca,'color','w')
2 个评论
Benjamin Clenney
2012-11-2
Matt Fig
2012-11-2
set(gcf,'color',[.8 .8 .8])
If your question has been answered, please accept the answer.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!