www.gusucode.com > map 案例源码 matlab代码程序 > map/SetUpWorldMapWithLandAreasLakesAndOtherLandmarksExample.m
%% Set up World Map with Land Areas, Lakes, and Other Landmarks % %% % Set up a world map with land areas, major lakes and % rivers, and cities and populated places. ax = worldmap('World'); setm(ax, 'Origin', [0 180 0]) land = shaperead('landareas', 'UseGeoCoords', true); geoshow(ax, land, 'FaceColor', [0.5 0.7 0.5]) lakes = shaperead('worldlakes', 'UseGeoCoords', true); geoshow(lakes, 'FaceColor', 'blue') rivers = shaperead('worldrivers', 'UseGeoCoords', true); geoshow(rivers, 'Color', 'blue') cities = shaperead('worldcities', 'UseGeoCoords', true); geoshow(cities, 'Marker', '.', 'Color', 'red')