Specify optional comma-separated pairs ofName,Valuearguments.Nameis the argument name andValueis the corresponding value.Namemust appear inside quotes. You can specify several name and value pair arguments in any order asName1,Value1,...,NameN,ValueN.
Example:pdegplot(g,'FaceLabels','on')
The argumentSubdomainLabelsis not recommended. UseFaceLabelsfor both 2-D and 3-D geometries instead.
VertexLabels—Vertex labels for 2-D or 3-D geometry 'off'(default) |'on'
Vertex labels for 2-D or 3-D geometry, specified as'off'or'on'.
FaceLabels—Boundary face labels for 2-D or 3-D geometry 'off'(default) |'on'
Boundary face labels for 2-D or 3-D geometry, specified as'off'or'on'.
Example:'FaceLabels','on'
Data Types:char|string
CellLabels—Cell labels for 3-D geometry 'off'(default) |'on'
Cell labels for 3-D geometry, specified as'off'or'on'.
Example:'CellLabels','on'
Data Types:char|string
FaceAlpha—Surface transparency for 3-D geometry 1(default) |real number from0through1
Surface transparency for 3-D geometry, specified as the comma-separated pair consisting of'FaceAlpha'and a real number from0through1. The default value1indicates no transparency. The value0indicates complete transparency.
Handles to graphics objects, returned as a vector.
Alternative Functionality
应用程序
If you create 2-D geometry in the PDE Modeler app, you can view the geometry from Boundary Mode. To see the edge labels, selectBoundary > Show Edge Labels. To see the face labels, selectPDE > Show Subdomain Labels.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.