How to save graph in each iteration

조회 수: 1 (최근 30일)
Moe
Moe 2015년 7월 4일
답변: Star Strider 2015년 7월 4일
I have a loop in my code that in each iteration is produced a graph. I want to save all of graphs in each iteration. If I use the following code, it will just overwriting.
print('figA','-djpeg')

답변 (1개)

Star Strider
Star Strider 2015년 7월 4일
I usually use either saveas or savefig.

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by