Plot vector in the points of a solid and "animation" (variation) in the time of them
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi guys, if possible i have two question for you.
- I plotted a 3d solid in the xyz system. If i go on a point with the cursor, i see the coordinates x,y,z. I would like to assign some values (acceleration, velocity and displacement) and to see them like the other values, is possible? I would like to go with the cursor on the point and to see x,y,z, acceleration, velocity and displacement
- i obtained the values of acceleration, velocity and displacement for different istants of time. I would like to see an animation of these values in the time (and if possible of the displacement of the points of the structure), is possible? thanks :)
댓글 수: 0
답변 (1개)
Adam Danz
2022년 10월 6일
To add rows of data to a datatip, see this demo that uses the DataTipTemplate
To animate the solid, update its data values within a loop.
Here's an example
댓글 수: 2
Adam Danz
2022년 10월 6일
Yes. In fact, my animation demo is in 3D. The main idea is to update the XData, YData, ZData (or similar properties) within a loop. If you were refering to the data tips, those also work in 3D axes.
참고 항목
카테고리
Help Center 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!