Save MATLAB figure with different background color

前端 未结 1 775
小鲜肉
小鲜肉 2021-02-07 14:33

I want to print a MATLAB figure with a dark background and white labels. If I use the print or saveas command I lose somehow the colors. The plot symbo

相关标签:
1条回答
  • 2021-02-07 14:54

    To keep the background as in your figure, use the command set.

    set(gcf, 'InvertHardCopy', 'off');

    For adjusting the figure in other ways, check out this link

    http://www.mathworks.com/help/techdoc/creating_plots/f3-84337.html

    0 讨论(0)
提交回复
热议问题