Missing text objects when exporting graphics in R2022b

조회 수: 8 (최근 30일)
Chad Greene
Chad Greene 2022년 11월 10일
댓글: Torben Ellegaard Lund 2024년 8월 29일
Since upgrading to R2022b, I've repeatedly run into an inssue in which text objects, legends, titles, etc do not get printed, or their position is shifted significantly when I export graphics via exportgraphics or export_fig. I'm trying to find some sort of rhyme or reason, but the problem seems somewhat inconsistent. It may only occur with OpenGL, but I'm not entirely sure.
Is this a known problem? Is there a known fix?
I'm using a MacOS Monterey 12.6.1.
  댓글 수: 4
Torben Ellegaard Lund
Torben Ellegaard Lund 2024년 8월 29일
I had the same problem with R2022b but have just updated to R2024a, and the problem has gone.
Torben Ellegaard Lund
Torben Ellegaard Lund 2024년 8월 29일
Forgot to say I am on MacOS Big Sur version 11.7.3

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

답변 (1개)

Manas Shukla
Manas Shukla 2022년 11월 15일
This issue can be mapped to the graphics drivers. The issue can be resolved by trying the following:
  1. Updating the driver.
  2. Switching to 'software' or 'hardwarebasic' opengl. The limitations of using the above settings can be found in this link: https://www.mathworks.com/help/matlab/ref/opengl.html?searchHighlight=opengl%20version&s_tid=doc_srchtitle#buwqhi1-8
  댓글 수: 2
Chad Greene
Chad Greene 2022년 11월 17일
@Manas Shukla I'm afraid none of these solutions are viable.
Updating the driver: I'm not entirely sure what you mean by this, but I looked up how to update OpenGL on a Mac, and the google pretty much says it can't be done.
Switching to 'software': The opengl documentation says "This option is not available on Macintosh systems."
Switching to 'hardwarebasic': I tried opengl('save','hardwarebasic'), but the problem persists.
Hannes Helmholz
Hannes Helmholz 2024년 5월 3일
Same behaviour for me. Neither option provides a solution.

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

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by