How to get rid of angles in MATLAB world map?
3 次查看(过去 30 天)
显示 更早的评论
Suppose I have the map below (taken from here). Is there a way to get rid of the all the text (i.e 90N, 45N, ..., 180W, 135W, ...) from the map? I have tried going through the documentation on the webpage but couldn't find any useful information.

0 个评论
采纳的回答
Mark Sherstan
2018-11-19
Access the figure handle and set the angle labels to be a blank string. This code will do it for you:
close all
h = worldmap('world');
load coastlines
plotm(coastlat,coastlon)
for ii = 1:14
h.Children(ii).String = '';
end
There may be other more effcient methods but this is a quick fix for now.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geographic Coordinate Reference Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!