rectangle - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


plottools

  

rectangle

  

generate 2-D plot object for a rectangle

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

rectangle([x1, y1], [x2, y2], opts)

Parameters

[x1, y1]

-

one corner of the rectangle

[x2, y2]

-

the opposite corner of the rectangle

opts

-

(optional) equations of the form option=value

Options

• 

Any applicable 2-D plot option in plot/options can also be given.

• 

filled : truefalse

  

Specifies whether to fill the inside of the arc. The default is true.

Description

• 

The rectangle command creates a two-dimensional plot data object, which when displayed is a rectangle with corners at [x1,y1] and [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.

Examples

withplottools:

withplots:

displayrectangle0,1,2,0,color=red,scaling=constrained

See Also

plot/options

plot/structure

plots[display]

plottools

plottools[arc]