plot vectors head to tail from dataset file

Dear all
I have large dataset X1, Y1, X2, Y2 in txt file.
Where:
X1, Y1 is tail of vector
X2, Y2 is head of vector
How cand i plot all my vector data in a graph by matlab?

回答 (1 件)

KSSV
KSSV 2022 年 3 月 10 日

0 投票

REad about quiver.
May be you should check with:
quiver(X1,Y1,X2-X1,Y2-Y1)

カテゴリ

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

質問済み:

2022 年 3 月 10 日

回答済み:

2022 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by