www.gusucode.com > map 案例源码 matlab代码程序 > map/CreateMapOfKoreaAndDisplayDataGridAsTextureMapExample.m
%% Create Map of Korea and Display Data Grid as Texture Map % Display a map, using the |geoshow| function with the |'DisplayType'| parameter % set to |'TextureMap'| . %% % Load MAT file containing map information about Korean peninsula. % Copyright 2015 The MathWorks, Inc. load korea %% % Set up an empty map axes with projection and limits for the Korean % peninsula. figure; worldmap(map, refvec) %% % Display the Korean data grid as a texture map. geoshow(gca,map,refvec,'DisplayType','texturemap'); demcmap(map) %% % Display the land area boundary as a black line. S = shaperead('landareas','UseGeoCoords',true); geoshow([S.Lat], [S.Lon],'Color','black');