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

6 ビュー (過去 30 日間)
John R
John R 2020 年 1 月 10 日
コメント済み: hooman arad 2023 年 2 月 10 日
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').
hooman arad
hooman arad 2023 年 2 月 10 日
hi
i have same prob. then i can found my solution by your advice big so Thanks

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by