Azzera filtri
Azzera filtri

direction of quiver arrows

12 visualizzazioni (ultimi 30 giorni)
F46
F46 il 22 Nov 2020
Commentato: F46 il 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 Commenti
Rik
Rik il 23 Nov 2020
I don't see your issue.
quiver(1.5, 1.5, -21, -21),axis([-20 20 -20 20])
F46
F46 il 23 Nov 2020
Thanks Rik. I guess I was looking at the wrong vector

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Vector Fields in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by