Plot boundary of 2-D shape
plot( plots the boundary of the
Plot Rectangle Shape
Create a rectangular shape and plot its boundary.
r = shape.Rectangle; p = plot(r);
shape — Shape created using shape objects
2-D shape created using shape objects such as:
p — Outline of shape
line object (default)
Boundary of the shape returned as a line object.
Introduced in R2017a