3D space and coordinate reference systems
22 ビュー (過去 30 日間)
古いコメントを表示
Hi, I would like to plot a graph with reference system on it. I mean, a triad of three axes. How can I plot a vector? I should get a line, using three numbers (direction cosines).
Any ideas would be very much appreciated.
Thanks, Marco
0 件のコメント
回答 (4 件)
Honglei Chen
2012 年 3 月 23 日
You can use quiver3, e.g.
quiver3(zeros(3,1),zeros(3,1),zeros(3,1),[1;0;0],[0;1;0],[0;0;1])
For details, see
doc quiver3
0 件のコメント
George Abrahams
2023 年 12 月 14 日
Hi Ocram. You can use my plotframe function on File Exchange, with the name-value argument ShowArrowHead='off', as in:
plotframe( ShowArrowHead='off' )
axis equal
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Vector Fields についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!