www.gusucode.com > map 案例源码 matlab代码程序 > map/ConstructGeopointVectorFromFileExample.m
%% Construct geopoint Vector from File % %% % Load coast line data from a MAT-file. % Copyright 2015 The MathWorks, Inc. load coastlines %% % Construct a geopoint vector from the coastline latitude and longitude % file. p = geopoint(coastlat, coastlon); %% % Display the points on a world map. figure worldmap world geoshow(p.Latitude, p.Longitude)