www.gusucode.com > map 案例源码 matlab代码程序 > map/ChangeMapProjectionWithRasterDataUsingGeoshowExample.m

    %% Change Map Projection with Raster Data Using geoshow
% This example shows how to change a map projection when using the
% |geoshow| function with a map axes with raster data.
%%
% Display raster data using the |geoshow| function. 

% Copyright 2015 The MathWorks, Inc.

load geoid
figure; axesm mercator
geoshow(geoid,geoidrefvec,'DisplayType','texturemap')
%%
% Change the projection using the |setm| function. 
setm(gca,'mapprojection','mollweid')