pderect
Draw rectangle in PDE Modeler app
Description
pderect(
draws a
rectangle with the corner coordinates defined by [xmin xmax ymin ymax]
)[xmin xmax ymin
ymax]
. The pderect
command opens the PDE Modeler
app with the specified rectangle drawn in it. If the app is already open,
pderect
adds the specified rectangle to the app window
without deleting any existing shapes.
pderect
updates the state of the geometry description matrix
inside the PDE Modeler app to include the rectangle. You can export the geometry
description matrix from the PDE Modeler app to the MATLAB® Workspace by selecting
DrawExport Geometry Description, Set
Formula, Labels.... For details on the format of the geometry
description matrix, see decsg
.
pderect(
assigns a name to the rectangle. Otherwise, [xmin xmax ymin ymax]
, label
)pderect
uses a
default name, such as R1
, R2
, and so on. For
squares, pderect
uses the default names SQ1
,
SQ2
, and so on.
Examples
Input Arguments
Tips
pderect
opens the PDE Modeler app and draws a rectangle. If, instead, you want to draw rectangles in a MATLAB figure, use therectangle
function, for example,rectangle('Position',[1,2,5,6])
.
Version History
Introduced before R2006a
See Also
pdecirc
| pdeellip
| pdepoly
| PDE
Modeler