Why does my figure print with a white background and white axes, even though I have set the axes and figure "Color" property to something other than white?
I use the following code to create my figure:
figureplot(1:10)set(gca, 'color', 'g')set(gcf, 'color', 'r')
Then, when I print to a file, the background color of the axes and the figure is white:
print -djpeg myfig.jpg
Best Answer