Partial Differential Equations Toolbox    
pderect

Draw rectangle.

Synopsis

Description
pderect(xy) draws a rectangle with corner coordinates defined by xy=[xmin xmax ymin ymax]. If the pdetool GUI is not active, it is automatically started, and the rectangle is drawn in an empty geometry model.

The optional argument label assigns a name to the rectangle (otherwise a default name is chosen).

The state of the Geometry Description matrix inside pdetool is updated to include the rectangle. You can export the Geometry Description matrix from pdetool by selecting the Export Geometry Description . . . option from the Draw menu. The format of the Geometry Description matrix is described in the entry on decsg.

Examples
The command sequence below starts pdetool and draws the L-shaped membrane as the union of three squares.

See Also
pdecirc, pdeellip, pdepoly, pdetool



pdeprtni pdesdp, pdesde, pdesdt