how i can have 2 points joining with quiver

Hello.I want to make a velocity vector from a point (i,j) to a point(k,z) on an image.How i can use quiver for it? Thanks

 Akzeptierte Antwort

Weitere Antworten (1)

bym
bym am 22 Dez. 2012

0 Stimmen

x = imread('peppers.png');
imshow(x)
hold
quiver(50,50,100,100)

1 Kommentar

freebil
freebil am 23 Dez. 2012
thanks for the answer but the arrow dont start from (50,50) and don't finish to (100,100). I have to put different parameters and i dont know which are them.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vector Fields finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by