3D space and coordinate reference systems
조회 수: 24 (최근 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!