How to save graph in each iteration

1 visualización (últimos 30 días)
Moe
Moe el 4 de Jul. de 2015
Respondida: Star Strider el 4 de Jul. de 2015
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')

Respuestas (1)

Star Strider
Star Strider el 4 de Jul. de 2015
I usually use either saveas or savefig.

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by