www.gusucode.com > map 案例源码 matlab代码程序 > map/ContourEGM96GeoidHeightsAs3DSurfaceExample.m
%% Contour EGM96 Geoid Heights as 3-D Surface % This example shows how to contour the EGM96 geoid heights in an ordinary % axes as a 3-D surface with 50 levels and set the contour line color to % black. %% % Load the geoid. % Copyright 2015 The MathWorks, Inc. figure('Color','white') load geoid contour3m(geoid,geoidrefvec,50,'LineColor','black'); %% % Add the geoid as a surface. hold on geoshow(geoid,geoidrefvec,'DisplayType','surface') %% % Add a title. title('EGM96 Global Geoid Heights with 50 Contour Levels'); %% % View in 3-D. view(3)