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