How to fix rendering issue in AppDesigner axes?
이전 댓글 표시
Folks,
I am trying to use:
set(0,'DefaultFigureRenderer','opengl')
to fix an issue I have in AppDesigner. The axes legend shows a dashed line as a corrupted version half way between continuous and dashed. I have tried that above set command in the startupFcn(app) function with painters and zbuffer, but to no avail. 80% of the time the figure is created, this happens. The other 20% of the fime the correct dashed line appears in the legend. Same exact line is being drawn in these tests. It seems like a race issue. Can anyone help? 2020a
Thanks,
Kris

댓글 수: 4
Eric Delgado
2022년 10월 13일
편집: Eric Delgado
2022년 10월 13일
Can you save and share a figure (.fig) instead of this image? What's the version of your OS? Try to update your OS and the driver of your graphic. And... (see below)
% Instead of:
% set(0,'DefaultFigureRenderer','opengl')
% Try:
opengl hardware
% And after the commands of plot and legend...
drawnow
Kristoffer Walker
2022년 10월 13일
편집: Kristoffer Walker
2022년 10월 13일
Eric Delgado
2022년 10월 14일
Can you put in here the answer for those two commands?
system('winver')
opengl info
Kristoffer Walker
2022년 10월 14일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!