フィルターのクリア

Is there a way to use fill with animatedline?

2 ビュー (過去 30 日間)
Cye
Cye 2024 年 5 月 15 日
コメント済み: Cye 2024 年 5 月 15 日
I'm generating animations consisiting of various closed curves (tiles) moving about each other. I'm presently using animated line to accomplish this, but I would like to try using diffeerent colors for the individual tiles. I cannot find any way to fill them in the context of the animated line, so I'm asking if it's possible.

採用された回答

Walter Roberson
Walter Roberson 2024 年 5 月 15 日
No, animated lines cannot handle fill.
Consider instead creating a hgtransform for each tile. To move the individual tiles, set the Matrix property to a transformation -- possibly with the aid of makehgtform to set the Translation (and possibly the rotation) of the individual object.
  1 件のコメント
Cye
Cye 2024 年 5 月 15 日
Thanks for your prompt and thoughtful reply.

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by