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

5 vues (au cours des 30 derniers jours)
John R
John R le 10 Jan 2020
Commenté : hooman arad le 10 Fév 2023
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 commentaires
John R
John R le 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 le 10 Fév 2023
hi
i have same prob. then i can found my solution by your advice big so Thanks

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by