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