資源簡(jiǎn)介
用MATLAB畫地圖,有中國(guó)地圖,美國(guó)地圖以及世界地圖。
代碼片段和文件信息
figure;
ax?=?worldmap(‘USA‘);
load?coast
geoshow(ax?lat?long...
‘DisplayType‘?‘polygon‘?‘FaceColor‘?[.45?.60?.30])
states?=?shaperead(‘usastatelo‘?‘UseGeoCoords‘?true);
faceColors?=?makesymbolspec(‘Polygon‘...
????{‘INDEX‘?[1?numel(states)]?‘FaceColor‘?...
????polcmap(numel(states))});?%?NOTE?-?colors?are?random
geoshow(ax?states?‘DisplayType‘?‘polygon‘?...
??‘SymbolSpec‘?faceColors)
title(‘美國(guó)地圖‘‘FontSize‘14‘FontWeight‘‘Bold‘);
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????467??2012-05-10?16:14??Amap.m
?????文件?????152015??2012-05-10?16:11??bou2_4l.dbf
?????文件????1395500??2012-05-10?16:11??bou2_4l.shp
?????文件??????14380??2012-05-10?16:11??bou2_4l.shx
?????文件??????86190??2012-05-10?16:11??bou2_4p.dbf
?????文件????????519??2012-05-10?16:05??Wmap.m
?????文件????????415??2012-05-10?16:10??Cmap.m
?????文件???????7492??2012-05-10?16:11??bou2_4p.shx
?????文件????1490440??2012-05-10?16:11??bou2_4p.shp
-----------?---------??----------?-----??----
??????????????3147418????????????????????9
評(píng)論
共有 條評(píng)論