参考:
【1】https://blog.csdn.net/zzx2016zzx/article/details/82908239
【2】https://jingyan.baidu.com/article/1e5468f94f59a5484961b738.html
【3】https://jingyan.baidu.com/article/a17d5285c8d0cb8098c8f28a.html
【4】https://jingyan.baidu.com/article/870c6fc36fdacfb03ee4be58.html
【5】https://blog.csdn.net/rumswell/article/details/14644231
【6】https://blog.csdn.net/rumswell/article/details/15027347
%======================
%======
figure(1)
a = worldmap('China');%描绘出中国地图的轮廓,其中的China是描绘中国地图;
worldmap([10,55],[70,140]);
%要是换做其他地图,就可以换成‘World’,或者'North Pole', 'South Pole', 'Pacific'
%======
%读取中国大陆的架构
% figure(2)
% landareas = shaperead('landareas.shp','UseGeoCoords', true);
% geoshow (landareas, 'FaceColor', [1 1 .5],'lon',[70,140],'lat',[0,60]);
%======
%画出大陆的海岸线
% figure(3)
load coast
plotm(lat, long)
%======
%设置经纬度的间隔
setm(gca,'MLineLocation',5)%设置经度间隔为5
setm(gca,'PLineLocation',10)%设置纬度间隔为10
%设置经纬度标签的间隔
setm(gca,'MLabelLocation',10)%设置经度标签为每隔5度
setm(gca,'PLabelLocation',5)%设置纬度