happyscience的个人博客分享 http://blog.sciencenet.cn/u/happyscience

博文

matlab mapping toolbox 示例1

已有 5798 次阅读 2013-10-16 17:29 |个人分类:matlab学习|系统分类:科研笔记| matlab

a = worldmap('World') %worldmap worldmap region or worldmap(region) sets up an empty map axes with projection and limits suitable to the part of the world specified in region. region can be a string or a cell array of strings. Permissible strings include names of continents, countries, and islands as well as'World', 'North Pole', 'South Pole', and 'Pacific'.

该命令yongyu用于设定一个空白的地图坐标,限定在一个区域上,该区域可以是一个string,或者cell array or strings。可接受的字符串包括大陆名称,国家,岛屿等。诸如南极,北极,taipingyang太平洋亦可。

load coast

plotm(lat, long)

land = shaperead('landareas', 'UseGeoCoords', true);

geoshow(a, land, 'FaceColor', [0.5 0.7 0.5])




https://blog.sciencenet.cn/blog-1067048-733490.html


下一篇:MATLAB 程序调试的断点和步进
收藏 IP: 161.111.220.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-1 11:39

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部