fig background color white 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' )