%% Change Basemap Used in Geographic Plot
% Plot a straight line between two points on a map. Specify the endpoints of the line using the coordinates of Seattle and Anchorage. Specify latitude and longitude in degrees.

latSeattle = 47.62;
lonSeattle = -122.33;
latAnchorage = 61.20;
lonAnchorage = -149.9;

%
% Plot the data using geoplot. Adjust the latitude and longitude limits of the map using geolimits.

geoplot([latSeattle latAnchorage],[lonSeattle lonAnchorage])
geolimits([45 62],[-149 -123])

%
% Change the basemap used in the plot using the geobasemap function.

geobasemap colorterrain

%
% Copyright 2018 The MathWorks, Inc.
%