MATLAB Answers

0

M_map code won't plot

Asked by Hollie Cushion on 1 Feb 2019
Latest activity Commented on by 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]);

  0 Comments

Sign in to comment.

Tags

Products


Release

R2018b

1 Answer

Answer by Mark Brandon on 1 Feb 2019
 Accepted Answer

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

ahh thank you
Mark Brandon on 1 Feb 2019
You're working in the Gulf! (we've all made those mistakes...) Good luck

Sign in to comment.