%% Plot Data in Geographic Axes
% Create a set of geographic axes.

gx = geoaxes;

%
% Plot data using the geoplot function. To modify the geographic axes you created, specify gx as an input argument. Customize the appearance of the line using the line specification 'g-*'. Change the basemap using the geobasemap function.

latSeattle = 47.62;
lonSeattle = -122.33;
latAnchorage = 61.20;
lonAnchorage = -149.9;
geoplot(gx,[latSeattle latAnchorage],[lonSeattle lonAnchorage],'g-*')
geobasemap(gx,'colorterrain')

%
% Copyright 2018 The MathWorks, Inc.