How plot a line segment with arrowhead?

20 ビュー (過去 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 Center および File ExchangeLine Plots についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by