set background color figure matlab 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' )