How to use Camera Toolbar in a MatLab Live Script

조회 수: 6 (최근 30일)
Nathaniel H Werner
Nathaniel H Werner 2022년 1월 8일
댓글: Cris LaPierre 2022년 1월 10일
Hello,
I have a 3D plot made in a live script that I am getting ready to present to my students. In a normal script, I can make the same figure and go to View > CameraToolbar > Camera Orbit or just click the Rotate3D icon above the figure.
It seems that there is no way to do this in a live script, but I am limited to using live scripts because my university wants students to learn MatLab with the live editor since it allows them to make professional reports easily.
Does anyone have any suggestions?

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 1월 8일
You can pop the figure out of a live script. To do this, either 1) hover over the figure in the live script and click the 'Open in figure window'
or add the code figure('Visible','on') to the top of your plotting code.
  댓글 수: 12
Nathaniel H Werner
Nathaniel H Werner 2022년 1월 10일
Ah.., I didn't know that.
Cris LaPierre
Cris LaPierre 2022년 1월 10일
To be fair, I didn't either, but discovered that while I was trying to duplicate your issue.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactions, Camera Views, and Lighting에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by