draw rod shape trajectory

3 ビュー (過去 30 日間)
Yumeng Yin
Yumeng Yin 2022 年 10 月 28 日
回答済み: Jim Riggs 2022 年 10 月 28 日
Hi all, I want to draw a rod's trajectory in Matlab. I have already have the center points' movement and also a version of simplifying the rod to a line. I am wondering whether it is possible to change this line to a 3D rod shape. I saw ellipsoid() function to create ellipsoids. And patch() function can help vary the color of lines with respect to time. I want to combine those two and show an ellipsoid's movement with changing colors respect to time. The best case to show the rod is cylindrical with hemisphere head, but didn't find how to do that, so can use ellipsoid as an eclectic choice. Thanks.

回答 (1 件)

Jim Riggs
Jim Riggs 2022 年 10 月 28 日
You might want to give this a try:

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by