how to change the color background in matlab figure code example
Example 1: figure bachground matlab color
set(gcf,'color','w');
Example 2: plot background color matlab
set (gca, 'Color' , 'k' )
set(gcf,'color','w');
set (gca, 'Color' , 'k' )