direction of quiver arrows

18 views (last 30 days)
F46
F46 on 22 Nov 2020
Commented: F46 on 23 Nov 2020
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 Comments
Rik
Rik on 23 Nov 2020
I don't see your issue.
quiver(1.5, 1.5, -21, -21),axis([-20 20 -20 20])
F46
F46 on 23 Nov 2020
Thanks Rik. I guess I was looking at the wrong vector

Sign in to comment.

Answers (0)

Categories

Find more on Vector Fields in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!