How to get directional arrows in a coordinate plot

9 visualizaciones (últimos 30 días)
Hendrik
Hendrik el 17 de Jul. de 2012
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.

Respuestas (1)

Jan
Jan el 18 de Jul. de 2012
There are several arrow functions in the FileExchange, so I suggest to use this term to search there.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by