Multiple Figures from Functions

16 visualizaciones (últimos 30 días)
Fin Christie
Fin Christie el 25 de Nov. de 2020
Comentada: Fin Christie el 25 de Nov. de 2020
Hello, I have a function that produces two figures when it is run. However, in my execution script, I intend to run this function twice ultimately producing 4 figures. How can I stop the second run of the function overwriting the previous 2 figures?

Respuestas (1)

Ameer Hamza
Ameer Hamza el 25 de Nov. de 2020
In the function, you will have statements like
figure(n); % n can be any number
Replace it with
figure()
  1 comentario
Fin Christie
Fin Christie el 25 de Nov. de 2020
Sorry, this did not solve the issue unfortunately - thanks for your help though

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Objects en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by