How to plot again Figure when it is closed?

3 vues (au cours des 30 derniers jours)
Ngo Sy
Ngo Sy le 27 Sep 2019
Commenté : Walter Roberson le 29 Sep 2019
Hi all,
when I simulate a program, I plot 2 figures are Figure(1) and Figure(2).
I closed Figure(1) and run to simulate again. But Figure(1) does not appear. Why?
Please help me to solve them.
Thanks!
  4 commentaires
Ngo Sy
Ngo Sy le 29 Sep 2019
Modifié(e) : Ngo Sy le 29 Sep 2019
David Hill. It means that. when I simulate a program. It plots Figure(1), Figure(2). I close (x) Figure(1), minimize (_) Figure(2), and run to simulate this program again. But Figure(1) does not appear, Figure(2) is the same.
BUT, if I choose Figure() to simulate, The value of Figure(1) will appear with Figure(3). I do not understand.
Please help me!
Walter Roberson
Walter Roberson le 29 Sep 2019
After you x figure 1, check
findall(0,'type', 'figure')
and see if you get back one or two figures

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by