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

조회 수: 5 (최근 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