show

Show map, roadmap, and path

Description

show(prm) shows the map and the roadmap, specified as prm in a figure window. If no roadmap exists, update is called. If a path is computed before calling show, the path is also plotted on the figure.

show(prm,Name,Value) sets the specified Value to the property Name.

Input Arguments

collapse all

Roadmap path planner, specified as a mobileRobotPRM object.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'Path','off'

Axes to plot the map specified as a comma-separated pair consisting of "Parent" and either an Axes or UIAxesobject. See axes or uiaxes.

Map display option, specified as the comma-separated pair consisting of "Map" and either "on" or "off".

Roadmap display option, specified as the comma-separated pair consisting of "Roadmap" and either "on" or "off".

Path display option, specified as "on" or "off". This controls whether the computed path is shown in the plot.

Introduced in R2019b