How plot a line segment with arrowhead?
22 views (last 30 days)
Show older comments
Hey do I plot line segments like in this picture? And maybe could tell me someone how to do the arrows?

0 Comments
Answers (1)
Image Analyst
on 11 Dec 2022
Edited: Image Analyst
on 11 Dec 2022
To plot arrows, you can use annotation
4 Comments
Brian LaRocca
on 27 Nov 2024
Using annotate with data drawn using plot is awkward since the two do not share the same coordinate system.
Brian LaRocca
on 27 Nov 2024
quiver and quiver3 get around this, but the arrows may not look that great. There should be a better solution.
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!