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
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
Kristoffer Walker 2022년 10월 13일
편집: Kristoffer Walker 2022년 10월 13일
Unfortunately that does not fix the issue. Thank you though for the suggestion. OS is Windows 10. Not sure about the driver of graphic or how to find that out.
Can you put in here the answer for those two commands?
system('winver')
opengl info
Eric, thank you. Windows 10 Version 21H2 (OS Build 19044.2006).
Version: '4.6.0 NVIDIA 472.91'
Vendor: 'NVIDIA Corporation'
Renderer: 'Quadro T2000 with Max-Q Design/PCIe/SSE2'
RendererDriverVersion: '30.0.14.7291'
RendererDriverReleaseDate: '13-Dec-2021'
MaxTextureSize: 32768
Visual: 'Visual 0x09, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 8 samples)'
Software: 'false'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {403×1 cell}
MaxFrameBufferSize: 32768

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2022년 10월 11일

댓글:

2022년 10월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by