How to have 2D bar on side of 3D plot?

1 回表示 (過去 30 日間)
ejk
ejk 2021 年 2 月 18 日
回答済み: Star Strider 2021 年 2 月 18 日
I have a 3D plot that contains a mesh that I update iteratively to create an animation.
Is there a way I can add a 2D bar to the side of the 3D figure similiar to how a colorbar looks, but instead of color data, I want to display one of my parameters that changes over time.
The final animation would show the mesh changing shape and a line of the 2D bar moving up and down depending on the value of a parameter.

回答 (1 件)

Star Strider
Star Strider 2021 年 2 月 18 日
See if subplot or tiledlayout (introduced in R2019b) will do what you want. That is likely the closest it’s possible to get.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by