Legend Background Color does not appear correctly when figure saved to file

7 次查看(过去 30 天)
I have white colored vectors in my figure, so I am setting the legend background to a non-white color. When I save the figure, the background color does not appear and it is just a white background. I've tried saving in different formats with no luck and I have used the 'print' and 'saveas' functions. Does anyone have experience with this problem or any ideas?
Thanks,
John
  3 个评论
John R
John R 2020-1-10
Thanks for getting back to me. I actually think I found a solution now with set(gcf,'InvertHardCopy','off').

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by