MATLAB Answers

M_map code won't plot

4 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]);

  0 Comments

Sign in to comment.

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

Translated by