www.gusucode.com > 地理位置拟合源码程序 > 地理位置拟合源码程序/DeployAnywhere/mksplash.m

    % Make a splash screen from the Great Lakes image file.
%
% Peter Webb, June 2014
% Copyright 2014, The MathWorks, Inc.
load greatlakes
cmap = cool(3*numel(greatlakes));
[gtlakes, spec] = updategeostruct(greatlakes, cmap);
lat = extractfield(gtlakes,'Lat');
lon = extractfield(gtlakes,'Lon');
lonlim = [min(lon) max(lon)];
latlim = [min(lat) max(lat)];
figure
usamap(latlim, lonlim);
geoshow(gtlakes, 'SymbolSpec', spec)