Partial Differential Equations Toolbox
  Go to function:
    Search    Help Desk 
pdesurf    Examples   See Also

Shorthand command for surface plot.

Synopsis

Description

pdesurf(p,t,u) plots a 3-D surface of PDE node or triangle data. If u is a column vector, node data is assumed, and continuous style and interpolated shading are used. If u is a row vector, triangle data is assumed, and discontinuous style and flat shading are used.

h=pdesurf(p,t,u) additionally returns handles to the drawn axes objects.

For node data, this command is just shorthand for the call

and for triangle data it is

If you want to have more control over your surface plot, use pdeplot instead of pdesurf.

Examples

Surface plot of the solution to the equation -u = 1 over the geometry defined by the L-shaped membrane. Use Dirichlet boundary conditions u = 0 on .

See Also

pdeplot, pdecont, pdemesh



[ Previous | Help Desk | Next ]