Why is my plotting background messed up?

조회 수: 3 (최근 30일)
Benjamin Clenney
Benjamin Clenney 2012년 11월 2일
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
Matt Fig 2012년 11월 2일
What commands do you use to create the plot?
set(gca,'color','w')
  댓글 수: 2
Benjamin Clenney
Benjamin Clenney 2012년 11월 2일
I didn't use any set command.
That fixes the actual graph, how do I get the area around the graph back to gray?
Matt Fig
Matt Fig 2012년 11월 2일
set(gcf,'color',[.8 .8 .8])
If your question has been answered, please accept the answer.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by