direction of quiver arrows
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/423853/image.png)
6 commentaires
Rik
le 23 Nov 2020
I don't see your issue.
quiver(1.5, 1.5, -21, -21),axis([-20 20 -20 20])
Réponses (0)
Voir également
Catégories
En savoir plus sur Vector Fields dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!