Main Content


Display reference path in figure


show(refPath) displays the reference path and its lateral states in the current figure.

show(refPath,'Parent',parentAx) displays the reference path on the specified axes. parentAx is specified as an Axes handle.

ax = show(___) displays the reference path using any of the previous input combinations and returns the axes handle on which the reference path is plotted.

Input Arguments

collapse all

Reference path, specified as a referencePathFrenet object.

Output Arguments

collapse all

Axes on which the reference path is plotted, returned as an Axes handle.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2020b