FUNCTION REFERENCE
Rectangle
2-D rectangle or rounded-rectangle graphics object returned by rectangle.
2-D rectangle or rounded-rectangle graphics object returned by rectangle.
Syntax
r = rectangle('Position', [x y w h])Holds Position, Curvature, FaceColor, EdgeColor, LineWidth and LineStyle properties.
Differences from MATLAB: Supports rectangular and curved corners in 2-D axes.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.