MATLAB show me only figure(1)
5 views (last 30 days)
Show older comments
I have a code with 3 figures. When I run my code, MATLAB show me only the last figure calling that "figure(1)". I don't know why because everything worked fine until yesterday.
0 Comments
Answers (1)
Ameer Hamza
on 22 Sep 2020
In your codes, instead of writing
figure(1);
just type
figure();
5 Comments
Ameer Hamza
on 22 Sep 2020
Try after replacing figure(1), figure(2), figure(3) with figure(). Alternatively, try restarting MATLAB.
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!