plottools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/rectangle

plottools

  

rectangle

  

generate 2-D plot object for a rectangle

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

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

Parameters

[x1, y1]

-

top left corner of the rectangle

[x2, y2]

-

bottom right corner of the rectangle

options

-

(optional) equations of the form option=value. For a complete list, see plot/options.

Description

• 

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.

Examples

withplottools:

withplots:

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

See Also

plot/options

plot/structure

plots[display]

plottools

plottools[arc]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam