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