prevent figures from closing when running new script

13 visualizaciones (últimos 30 días)
Wouter
Wouter el 3 de Mzo. de 2017
Respondida: Wouter el 3 de Mzo. de 2017
My proplem is simple:
I have two different scripts, representing two different approaches to the same physical problem, each producing a graph, which ideally should look very similar.
So for comparing these figures, I want to run those two scripts and see the figures next to each other. Problem is, when I start running the second script, the figure generated by the first script closes automatically. (using the figure command before plot does not seem to help). Is there a way to keep all figures open?

Respuesta aceptada

Wouter
Wouter el 3 de Mzo. de 2017
Ok, I had a close all command at the beginning of my script, removing that solved the issue

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by