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