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

    %% Display Contours for EGM96 Geoid Heights
% 
%%
% Load EGM96 geoid heights.

% Copyright 2015 The MathWorks, Inc.

load geoid
%%
% Display contours.
figure
[c,h] = contourm(geoid,geoidrefvec,'LevelStep',20,'ShowText','on');
%%
% Add axes labels and a legend.
xlabel('Longitude')
ylabel('Latitude')
clegendm(c,h,-1)