フィルターのクリア

Quiver plot between 2 dots.

13 ビュー (過去 30 日間)
Rafael Freire
Rafael Freire 2012 年 1 月 31 日
How to plot a quiver between
P1=[ 0.85 4.87]
P2=[ 0.88 4.88]
best regards

採用された回答

Patrick Kalita
Patrick Kalita 2012 年 1 月 31 日
You simply need to compute the difference between the two vectors:
P1=[ 0.85 4.87]
P2=[ 0.88 4.88]
D = P2 - P1;
quiver( P1(1), P1(2), D(1), D(2), 0 )
The zero as the last argument to quiver tell is to not do automatic scaling. That way you see the arrow actually going between the two points.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by