M_map code won't plot

조회 수: 4 (최근 30일)
Hollie Cushion
Hollie Cushion 2019년 2월 1일
댓글: Mark Brandon 2019년 2월 1일
I've run these two lines of code into matlab and I get no error message, the answer goes into the workspace but I get no plot, does anyone have any idea why?
m_proj('utm','lat',[29 19],'lon',[-82 -97]);
m_gshhs_i('patch',[0.5 0.5 0.5]);

채택된 답변

Mark Brandon
Mark Brandon 2019년 2월 1일
You've your axes limits the wrong way Hollie
m_proj('utm','lat',[19 29],'lon',[-97 -82]);
m_gshhs_i('patch',[0.5 0.5 0.5]);
m_grid('box','fancy','tickdir','out');
Is that what you were expecting?
  댓글 수: 2
Hollie Cushion
Hollie Cushion 2019년 2월 1일
ahh thank you
Mark Brandon
Mark Brandon 2019년 2월 1일
You're working in the Gulf! (we've all made those mistakes...) Good luck

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by