pdeellip - Draw ellipse

Syntax

pdeellip(xc,yc,a,b,phi) 
pdeellip(xc,yc,a,b,phi,label)

Description

pdeellip(xc,yc,a,b,phi) draws an ellipse with center in (xc,yc) and semiaxes a and b. The rotation of the ellipse (in radians) is given by phi. If the pdetool GUI is not active, it is automatically started, and the ellipse is drawn in an empty geometry model.

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

The state of the Geometry Description matrix inside pdetool is updated to include the ellipse. You can export the Geometry Description matrix from pdetool by selecting the Export Geometry Description option from the Draw menu. For a details on the format of the Geometry Description matrix, see decsg.

Examples

The following command starts pdetool and draws an ellipse.

pdeellip(0,0,1,0.3,pi/4) 

See Also

pdecirc

Partial Differential Equation Toolbox™

pdepoly

Partial Differential Equation Toolbox

pderect

Partial Differential Equation Toolbox

pdetool

Partial Differential Equation Toolbox

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS