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)

回答 (1 件)

Image Analyst
Image Analyst 2023 年 5 月 29 日

0 投票

See plot and quiver

4 件のコメント

michael
michael 2023 年 5 月 29 日
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 :(
Image Analyst
Image Analyst 2023 年 5 月 29 日
Try annotation instead of quiver. Look into options that let you control the size of the arrow's parts.
michael
michael 2023 年 5 月 29 日
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
Image Analyst
Image Analyst 2023 年 5 月 29 日
Ok, can you upgrade? And did you check out the options for changing the appearance of the arrows?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeVector Fields についてさらに検索

製品

リリース

R14SP2

質問済み:

2023 年 5 月 29 日

コメント済み:

2023 年 5 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by