question about the quiver

1 次查看(过去 30 天)
YIFAN
YIFAN 2012-11-24
I want to draw an arrow between to points like from (0,0) to (1,1). Should I use quiver? But when I use quiver(0,0,1,1), why is the end point (.9,.9)... Please help me, thanks~

回答(1 个)

Matt Fig
Matt Fig 2012-11-24
编辑:Matt Fig 2012-11-24
Set the scale to zero:
quiver(0,0,1,1,0)
% .......scale ^
  2 个评论
Matt Fig
Matt Fig 2012-11-25
YIFAN comments
Sorry, I know it. Just put one more 0, like quiver(0,0,1,1,0), which means do not do the scaling automatically
Matt Fig
Matt Fig 2012-11-25
Is that a further question?
If your question has been answered, please accept the answer.

请先登录,再进行评论。

类别

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