How can I display longitude and latitude values in a projected figure?

2 views (last 30 days)
Dear All,
I created a map with eqdcylin projection by the following way:
axesm('eqdcylin','maplatlimit',[26.5861 71.8699],'maplonlimit',[-34.748 60.8422]);
I attached the result. I would like display the longitude and latitude values in the map. I have ever tried to use
load coast
based on but it does not work. Can someone suggest me a solution?
Amy Haskins
Amy Haskins on 17 Jun 2016
I'm not exactly sure what you mean by "display the longitude and latitude values in the map". If your looking for grid lines with labels, then try this:
gridm on
mlabel on
plabel on

Sign in to comment.

Answers (1)

Tom W
Tom W on 8 Nov 2016
noticed you had
did you mean "lon" instead of "long"
Also, look into the m_plot package, it's an old open-source build, allows you to choose the projection first (m_proj), then plot (m_plot)...

Community Treasure Hunt

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

Start Hunting!