I change the legend font color in a plot but when I save it as a png it doesn't work

5 visualizzazioni (ultimi 30 giorni)
as you can see above, the figure has the legend color changed, but when I save it as a png it doesn't show.
this is my code for the legend and saving. fi is the figure and name is just a string

Risposte (1)

Sayyed Ahmad
Sayyed Ahmad il 1 Lug 2021
try this:
saveas(gca,'test.png')

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by