MATLAB Answers

M_map code won't plot

2 views (last 30 days)
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]);

Accepted Answer

Mark Brandon
Mark Brandon on 1 Feb 2019
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]);
Is that what you were expecting?
Mark Brandon
Mark Brandon on 1 Feb 2019
You're working in the Gulf! (we've all made those mistakes...) Good luck

Sign in to comment.

More Answers (0)





Community Treasure Hunt

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

Start Hunting!

Translated by