how to include Figure color in my code?

1 Ansicht (letzte 30 Tage)
Matt
Matt am 8 Aug. 2014
Kommentiert: Matt am 8 Aug. 2014
Hi
I want to change the color of my figure to white. The cloro outside my x and y axis. I can do this by going Figure color under edit>figure property.
BUt i want to include it in my code. Any suggestion how to do it?

Akzeptierte Antwort

Honglei Chen
Honglei Chen am 8 Aug. 2014
set(gcf,'Color','w')

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by