How to use quiver3m with usamap() in Mapping Toolbox

1 vue (au cours des 30 derniers jours)
Dave Walter
Dave Walter le 13 Mai 2016
Commenté : Anna S le 26 Avr 2019
I cannot get quiver3m to work with usamap(latlim, lonlim) in Mapping toolbox. plot3m works fine.
figure()
usamap([34.0247 34.0549], [-118.7136, -118.6836])
plot3m([34.04, 34.041, 34.042], [-118.7, -118.701, -118.702], [0, 100, 200], 'r')
quiver3m(34.04, -118.7, 0, -.6, .7, 0, 'g')
The red line from plot3m appears, but the green arrow from quiver3m does not appear.
  1 commentaire
Anna S
Anna S le 26 Avr 2019
I believe that you found a solution...
For others who have the same question (like me):
My problem was that the arrow heads were far outside of the mapping box and therefore not plotted. I didn't check whether it's the same here, but it took me hours to realize this easy-to-solve-problem...
Hope you found a solution!

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by