%% Create and Display Coverage Area on 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. Create a coverage area plotter that displays coverage areas in red.

bep = birdsEyePlot('XLim',[0 90],'YLim',[-35 35]);
caPlotter = coverageAreaPlotter(bep,'DisplayName','Radar coverage area','FaceColor','r');

%
% Display a coverage area that has a 35-degree field of view and a 60-meter range. Mount the coverage area sensor 1 meter in front of the origin. Set the orientation angle of the sensor to 0 degrees.

mountPosition = [1 0];
range = 60;
orientation = 0;
fieldOfView = 35;
plotCoverageArea(caPlotter,mountPosition,range,orientation,fieldOfView);

% Copyright 2012 The MathWorks, Inc.