필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
CY Y
CY Y 2015년 2월 18일
편집: Timothy Maxwell 2022년 4월 19일
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?

답변 (1개)

Timothy Maxwell
Timothy Maxwell 2022년 4월 19일
편집: Timothy Maxwell 2022년 4월 19일
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.

카테고리

Help CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by