M_map code won't plot

1 view (last 30 days)
Hollie Cushion
Hollie Cushion on 1 Feb 2019
Commented: Mark Brandon on 1 Feb 2019
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]);
m_grid('box','fancy','tickdir','out');
Is that what you were expecting?
  2 Comments
Hollie Cushion
Hollie Cushion on 1 Feb 2019
ahh thank you
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)

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!