MATLAB show me only figure(1)

5 views (last 30 days)
Edoardo Boasso
Edoardo Boasso on 22 Sep 2020
Commented: Edoardo Boasso on 22 Sep 2020
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.

Answers (1)

Ameer Hamza
Ameer Hamza on 22 Sep 2020
In your codes, instead of writing
figure(1);
just type
figure();
  5 Comments
Ameer Hamza
Ameer Hamza on 22 Sep 2020
Try after replacing figure(1), figure(2), figure(3) with figure(). Alternatively, try restarting MATLAB.
Edoardo Boasso
Edoardo Boasso on 22 Sep 2020
I tried both. I replaced the figure and nothing, I tried restarting MATLAB and nothing

Sign in to comment.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!