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

8 Ansichten (letzte 30 Tage)
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 Kommentare
John R
John R am 10 Jan. 2020
Thanks for getting back to me. I actually think I found a solution now with set(gcf,'InvertHardCopy','off').
hooman arad
hooman arad am 10 Feb. 2023
hi
i have same prob. then i can found my solution by your advice big so Thanks

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by