Why do UI control objects in GUI disappear during/after plotting ?

6 visualizaciones (últimos 30 días)
CY Y
CY Y el 18 de Feb. de 2015
Editada: Timothy Maxwell el 19 de Abr. de 2022
I made a GUI using GUIDE in R2014b. It contains an axes for plotting and many UI controls, such as push buttons and popup menus.
I'm plotting thousands of surface objects using a for loop. I also add camlight and drawnow after the for loop. While the plotting is going on, the UI controls disappeared, except for those contained in a panel. When the plotting is finished, if I hover the cursor over the area where UI controls were supposed to be, they appear again. But not all of them could come back this way. If I enter debugging mode and issue cla command, then they all appear again.
What might cause this and how can I fix it?

Respuestas (1)

Timothy Maxwell
Timothy Maxwell el 19 de Abr. de 2022
Editada: Timothy Maxwell el 19 de Abr. de 2022
I don't have an answer to this, and we still have some old applications.
Can confirm the same behavior. GUIDE applications that have images plotted on them. When the image appears, almost all the uipanels/elements disappear. If not immediately, upon interacting with or moving the window.
It appears to be a low level rendering problem or OpenGL issue. Have not found a solution... Anyone else has? It's only in specific environments, but not sure what isn't working/compatible.

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by