%% Create and Display Lane Boundaries on Bird's-Eye Plot
% Create left-lane and right-lane boundaries.

leftlb = parabolicLaneBoundary([-0.001,0.01,-1.8]);
rightlb = parabolicLaneBoundary([-0.001,0.01,1.8]);

%
% Create a bird's-eye plot with an x-axis range from 0 to 30 meters and a y-axis range from –5 to 5 meters.

bep = birdsEyePlot('XLimits',[0 30],'YLimits',[-5 5]);

%
% Create a lane boundary plotter.

lbPlotter = laneBoundaryPlotter(bep,'DisplayName','Lane boundaries');

%
% Display the lane boundaries on the bird's-eye plot.

plotLaneBoundary(lbPlotter,[leftlb rightlb]);

% Copyright 2012 The MathWorks, Inc.