MATLAB Answers

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

4 views (last 30 days)
wei zhang
wei zhang on 26 May 2020
Answered: Payas Bahade on 28 May 2020
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.

  0 Comments

Sign in to comment.

Answers (1)

Payas Bahade
Payas Bahade on 28 May 2020
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!

  0 Comments

Sign in to comment.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!