%% Create and Display a Bird's-Eye Plot
% Create a bird's-eye plot with an x-axis range from 0 to 90 meters and a y-axis range from –35 to 35 meters.

bep = birdsEyePlot('XLim',[0 90],'YLim',[-35 35]);

%
% Display a coverage area with a 35-degree field of view and a 60-meter range.

caPlotter = coverageAreaPlotter(bep,'DisplayName','Radar coverage area');
mountPosition = [1 0];
range = 60;
orientation = 0;
fieldOfView = 35;
plotCoverageArea(caPlotter,mountPosition,range,orientation,fieldOfView);

%
% Display radar detections with coordinates at (30, –5), (50, –10), and (40, 7).

radarPlotter = detectionPlotter(bep,'DisplayName','Radar detections');
plotDetection(radarPlotter,[30 -5; 50 -10; 40 7]);

% Copyright 2012 The MathWorks, Inc.