Mapping Toolbox 2

h = worldmap('Europe');
getm(h,'MapProjection')
geoshow('landareas.shp', 'FaceColor', [0.15 0.5 0.15])
geoshow('worldlakes.shp', 'FaceColor', 'cyan')
geoshow('worldrivers.shp', 'Color', 'blue')
geoshow('worldcities.shp', 'Marker', '.',...
                           'MarkerEdgeColor', 'magenta')

% Place a label on the map to identify the Mediterranean Sea.                       
labelLat = 35;
labelLon = 14;
textm(labelLat, labelLon, 'Mediterranean Sea')

Mapping Toolbox 2

上一篇:批量动态加载矢量图层


下一篇:shp文件转dwg并创建文本标注