How to save graph in each iteration

2 次查看(过去 30 天)
Moe
Moe 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 中查找有关 Directed Graphs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by