| Partial Differential Equations Toolbox | ![]() |
pdepoly(x,y) pdepoly(x,y,label)
Description
pdepoly(x,y)
draws a polygon with corner coordinates defined by x and y. If the pdetool GUI is not active, it is automatically started, and the polygon is drawn in an empty geometry model.
label assigns a name to the polygon (otherwise a default name is chosen).
The state of the Geometry Description matrix inside pdetool is updated to include the polygon. You can export the Geometry Description matrix from pdetool by using the Export Geometry Description . . . option from the Draw menu. The format of the Geometry Description matrix is described in the entry on decsg.
» pdepoly([-1 0 0 1 1 -1],[0 0 1 1 -1 -1]);creates the L-shaped membrane geometry as one polygon.
See Also
pdecirc, pderect, pdetool
![]() | pdeplot | pdeprtni | ![]() |