Plot trajectory in 2D

Hello everyone,
I would like to substitute the markers of a plot figure with small arrows to indicate the trajectory of the line.
I cannot find this option (if it exists)
Thanks in advance!

 Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 2 Apr 2012

1 vote

I don't think I've seen exactly that type of plot. But take a look at the documentation to "quiver" that should be possible to use. Also check the file exchange for the 2 best arrow contributions - they should be possible to build a "very-pretty" version of this if you decide to roll your own.
HTH

Categories

Community Treasure Hunt

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

Start Hunting!