how i can have 2 points joining with quiver

2 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2012-12-22
annotate()

更多回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by