FUNCTION REFERENCE

pdegplot

Plot a 2-D PDE geometry with optional edge, face, and vertex labels.

Plot a 2-D PDE geometry with optional edge, face, and vertex labels.

Syntax

pdegplot(g); pdegplot(g, 'EdgeLabels', 'on', 'FaceLabels', 'on', 'VertexLabels', 'on'); h = pdegplot(...)

Plots every boundary edge of a pde.PDEModel, pde.AnalyticGeometry, or decomposed geometry matrix dl as a line object in the current axes with equal axis scaling. Circular and elliptical arcs are sampled smoothly. EdgeLabels ('E1'..), FaceLabels ('F1'.. at an interior point of each face), and VertexLabels ('V1'..) default to 'off' and accept 'on'/'off' or true/false. Returns the line handle array when an output argument is requested. If the geometry has more edges than available series slots on the axes (at most 64 series), all edges are combined into a single NaN-separated line object and a single handle is returned.

Example

R1=[3;4;-1;1;1;-1;-1;-1;1;1]; dl=decsg(R1); h=pdegplot(dl,'EdgeLabels','on','FaceLabels','on'); numel(h)

Differences from MATLAB: 2-D geometries only; SubdomainLabels, FaceAlpha, and 3-D cell labels are not supported.

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