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

조회 수: 7 (최근 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 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