How to use quiver3m with usamap() in Mapping Toolbox

1 次查看(过去 30 天)
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 个评论
Anna S
Anna S 2019-4-26
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!

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by