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?<>

Antworten (1)

Matt Fig
Matt Fig am 2 Nov. 2012

0 Stimmen

What commands do you use to create the plot?
set(gca,'color','w')

2 Kommentare

Benjamin Clenney
Benjamin Clenney am 2 Nov. 2012
I didn't use any set command.
That fixes the actual graph, how do I get the area around the graph back to gray?
set(gcf,'color',[.8 .8 .8])
If your question has been answered, please accept the answer.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Nov. 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by