Figure that pop up when requested.

Pretty much a figure that pop up like a warning dialog when needed. For example if I press a button and the figure is already open somewhere, the figure should pop up again.

 Respuesta aceptada

Jan
Jan el 22 de Ag. de 2015

0 votos

The command figure(FigureHandle) moves the figure to the top, if FigureHandle is an existing figure.

3 comentarios

So, let me get this straight... It would be
h = somerandomfigure
figure(h)
I am trying to make this functional programmatically.
Walter Roberson
Walter Roberson el 22 de Ag. de 2015
Yes, especially when h was stored some time before using figure()
Walter Roberson
Walter Roberson el 22 de Ag. de 2015
You might want to check whether the handle is still a figure by using ishandle() -- or better yet if you are using a new enough version, isgraphics()

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 22 de Ag. de 2015
How about
uiwait(warndlg(yourMessage));

2 comentarios

Tamfor Dulin
Tamfor Dulin el 22 de Ag. de 2015
Well I would like to make my own custom created figure to pop up
Image Analyst
Image Analyst el 24 de Ag. de 2015
Tamfor: See the video tutorials on GUIDE: http://blogs.mathworks.com/videos/category/gui-or-guide/

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 22 de Ag. de 2015

Comentada:

el 24 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by