plotting trajectory direction of a path

Hi,
I have a set of points (lat, long) which I eould like to plot as a trajectory path. on top of that, I'd like to add an arrow for the direction of the movement.
How can I do this?
Note, I'm using MATLAB R14
Note2: I can have small set size (1000 points) and can have huge set size (hundred thousand of points)

Answers (1)

See plot and quiver

4 Comments

I do use quiver, but It barely seen in figure.
When I do a copy of a figure to populate it in word, instead of arrows I see big black point on the trace :(
Try annotation instead of quiver. Look into options that let you control the size of the arrow's parts.
annottation requires tha xand y will be between 0 and 1, however, I'm using lat long which is not so between 0 and 1
the exportgraphics or copygraphics not supported by MATLAB R14
Ok, can you upgrade? And did you check out the options for changing the appearance of the arrows?

Sign in to comment.

Categories

Find more on App Building in Help Center and File Exchange

Products

Release

R14SP2

Asked:

on 29 May 2023

Commented:

on 29 May 2023

Community Treasure Hunt

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

Start Hunting!