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

2 views (last 30 days)
Could I rotate my 3D figure in the live script as in a figure?
I ran
but it seems no change. My matlab version is 2019a.

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!




Community Treasure Hunt

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

Start Hunting!