How plot a line segment with arrowhead?

조회 수: 21 (최근 30일)
N/A
N/A 2022년 12월 11일
댓글: Brian LaRocca 2024년 11월 27일
Hey do I plot line segments like in this picture? And maybe could tell me someone how to do the arrows?

답변 (1개)

Image Analyst
Image Analyst 2022년 12월 11일
편집: Image Analyst 2022년 12월 11일
To plot arrows, you can use annotation
To plot line segments with no arrowheads, you can use line or plot
  댓글 수: 4
Brian LaRocca
Brian LaRocca 2024년 11월 27일
Using annotate with data drawn using plot is awkward since the two do not share the same coordinate system.
Brian LaRocca
Brian LaRocca 2024년 11월 27일
quiver and quiver3 get around this, but the arrows may not look that great. There should be a better solution.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by