フィルターのクリア

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

1 回表示 (過去 30 日間)
David Zhang
David Zhang 2021 年 7 月 1 日
コメント済み: David Zhang 2021 年 7 月 1 日
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

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

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by