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

3 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by