(20190504-2)matlab绘制中国/世界地图(海岸线,国界,省界)——mapshow/geoshow

参考:

【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)%设置纬度
评论 82
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值