Does "live script" support "rotate3d" in the mlx file?

조회 수: 2 (최근 30일)
wei zhang
wei zhang 2020년 5월 26일
답변: Payas Bahade 2020년 5월 28일
Could I rotate my 3D figure in the live script as in a figure?
I ran
rotate3d
but it seems no change. My matlab version is 2019a.

답변 (1개)

Payas Bahade
Payas Bahade 2020년 5월 28일
Hi Wei,
Live scripts supports the 3D-rotation of figures. One can click on the generated output figure and this makes toolbar to appear and select the ‘rotate’ tool to rotate the figure as required.
rotate3d’ command can be used to turn the mode on/off for 3D-rotation in figures. Starting in R2018b, some rotate interactions are enabled by default, regardless of the rotate mode. If you want to disable these default interactions, then use the disableDefaultInteractivity function.
For more details on ‘rotate3d’, kindly refer this documentation link.
Hope this helps!

카테고리

Help CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by