How to use quiver3m with usamap() in Mapping Toolbox

1 回表示 (過去 30 日間)
Dave Walter
Dave Walter 2016 年 5 月 13 日
コメント済み: Anna S 2019 年 4 月 26 日
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