MATLAB: How to include Figure color in the code

figure colour

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?

Best Answer

set(gcf,'Color','w')