3D plots rotated in live scripts

1 回表示 (過去 30 日間)
feynman feynman
feynman feynman 2024 年 2 月 28 日
コメント済み: feynman feynman 2024 年 3 月 5 日
It seems that once 3d plots in animations are rotated, the animation can't be replayed again, for the control slider automatically disappears once the 3d plot is rotated. I want to confirm this is correct and is there any way to work around it?

回答 (1 件)

Ayush
Ayush 2024 年 3 月 5 日
Hey Feynman,
I understand that you are facing issue while working with animations in MATLAB Live script.
This is due to the fact that Interactive features such as animations with control sliders can indeed face limitations when interacting with 3D plots, especially after rotating or zooming the plot. When you interact with a 3D plot by rotating it, MATLAB may re-render the plot, which can cause interactive elements like animation control sliders to disappear or stop functioning as expected. This behavior is due to the way MATLAB Live Scripts handle dynamic content and user interactions within the embedded figure environment.
One of the possible workarounds is re-running the section which plots the animation.
I hope this helps!
  1 件のコメント
feynman feynman
feynman feynman 2024 年 3 月 5 日
@Ayush Thank you very much, if there's no other workarounds that re-runs

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by