matlab set figure background white code example Example: plot background color matlab set (gca, 'Color' , 'k' )