change background color matlab figure code example Example: figure bachground matlab color set(gcf,'color','w');