How to get directional arrows in a coordinate plot
9 views (last 30 days)
Show older comments
For my bachelor thesis I'm tracking a target in 2D using an ultrasound and a tracking algorithm. The algorithm gives me a x,y position as a vector of the target (in this case with 713 entries). T. Plotting this vector gives me the total, final path the target travelled. In this case it is the figure seen below.

Now I want to make this figure clearer by adding arrows that indicate the movement. These arrows should point in the direction of the next point (so instead of a 3d plot using time, I want that information in the 2d plot). The comet function shows the correct movement, but does not show me the arrows in the final plot. Is there a way to get these arrows in the plot? Thanks in advance.
Answers (1)
Jan
on 18 Jul 2012
There are several arrow functions in the FileExchange, so I suggest to use this term to search there.
0 Comments
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!