How can I delay a figure window?

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?:)

Respuestas (2)

Azzi Abdelmalek
Azzi Abdelmalek el 30 de Mzo. de 2016
Editada: Azzi Abdelmalek el 30 de Mzo. de 2016

0 votos

use pause(n) , n is the number of seconds

2 comentarios

Sine  Palm
Sine Palm el 30 de Mzo. de 2016
Thanks a lot! Do you also know how to close the figure window after it have been shown in n seconds?
Walter Roberson
Walter Roberson el 30 de Mzo. de 2016
after the pause(), close() the window.

Iniciar sesión para comentar.

Walter Roberson
Walter Roberson el 30 de Mzo. de 2016

0 votos

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.

Categorías

Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 30 de Mzo. de 2016

Respondida:

el 30 de Mzo. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by