generate 2-D plot object for a rectangle
rectangle([x1, y1], [x2, y2], options)
top left corner of the rectangle
bottom right corner of the rectangle
(optional) equations of the form option=value. For a complete list, see plot/options.
The rectangle command creates a two-dimensional plot data object, which when displayed is a rectangle whose top left corner is located at [x1,y1] and the bottom right corner is located at [x2,y2].
The plot data object produced by the rectangle command can be used in a PLOT data structure, or displayed using the plots[display] command.
Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot/options.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.