FUNCTION REFERENCE

pde.FEMesh.pdeplot

Plot nodal data on a pde.FEMesh object.

Plot nodal data on a pde.FEMesh object.

Syntax

pdeplot(mesh, Name, Value)

Syntax

mesh.pdeplot(Name, Value)

Plots scalar nodal fields, contours, 3-D height or vector fields defined on the mesh. For 'XYData', supply a numeric vector with one value per mesh node.

Example

m = createpde; geometryFromEdges(m, decsg([3;4;0;1;1;0;0;0;1;1])); mesh = generateMesh(m, 'Hmax', 0.5); h = mesh.pdeplot('XYData', mesh.Nodes(1, :)'); get(h(1), 'Type'), close(gcf);   % 'patch'

Differences from MATLAB: Element-wise 'XYData' is unsupported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.