how i can have 2 points joining with quiver

3 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 22 Dec 2012
annotate()

More Answers (1)

bym
bym on 22 Dec 2012
x = imread('peppers.png');
imshow(x)
hold
quiver(50,50,100,100)
  1 Comment
freebil
freebil on 23 Dec 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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!