How can I delay a figure window?
Show older comments
Hey out there! I have two figure windows, but I want the second to open when the first i closed, and not on the same time. How can I do this? I have tried uiwait, but the figures I want to show is an image and an image scale Can you help me?:)
Answers (2)
Azzi Abdelmalek
on 30 Mar 2016
Edited: Azzi Abdelmalek
on 30 Mar 2016
0 votes
use pause(n) , n is the number of seconds
2 Comments
Sine Palm
on 30 Mar 2016
Walter Roberson
on 30 Mar 2016
after the pause(), close() the window.
Walter Roberson
on 30 Mar 2016
0 votes
Create the second window but set 'visible' 'off' for it. Then uiwait() for the first figure. Then set the visible to on for the second figure.
Categories
Find more on Image Arithmetic 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!