how to include Figure color in my code?

4 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!