MATLAB Answers

Ngo Sy

How to plot again Figure when it is closed?

Asked by Ngo Sy
on 27 Sep 2019
Latest activity Commented on by Walter Roberson
on 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.


Show 1 older comment
on 27 Sep 2019
didn't know about that option. thanks
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!
After you x figure 1, check
findall(0,'type', 'figure')
and see if you get back one or two figures

Sign in to comment.


0 Answers