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

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')

1 件のコメント

David Zhang
David Zhang 2021 年 7 月 1 日
I copied the exact thing into the script but unfortunately it didn't change anything

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2021 年 7 月 1 日

コメント済み:

2021 年 7 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by