direction of quiver arrows

12 次查看(过去 30 天)
F46
F46 2020-11-22
评论: F46 2020-11-23
I was using quiver to plot a vector field. The details of the code is not relevant here. As can be seen from the figure the vector [-21,-21] is pointing 45 from the positive horizonta when it should be in the reverse direction. Why?
  6 个评论
Rik
Rik 2020-11-23
I don't see your issue.
quiver(1.5, 1.5, -21, -21),axis([-20 20 -20 20])
F46
F46 2020-11-23
Thanks Rik. I guess I was looking at the wrong vector

请先登录,再进行评论。

回答(0 个)

类别

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