%% Create Geographic Scatter Plot Controlling Color, Size, and Shape of Markers
% Set up latitude and longitude data.

lon = (-170:10:170);
lat = 50 * cosd(3*lon);

%
% Define data that controls the area of each marker.

A = 101 + 100*(sind(2*lon));

%
% Define data to control the color of each marker.

C = cosd(4*lon);

%
% Plot the data on a geographic scatter plot, specifying the marker size data and the color data. Specify the marker as a triangle, rather than the default circle.

geoscatter(lat,lon,A,C,'^')

%
% Copyright 2018 The MathWorks, Inc.