FUNCTION REFERENCE
Patch
Polygon or triangulated surface patch graphics object returned by patch.
Polygon or triangulated surface patch graphics object returned by patch.
Syntax
p = patch(x, y, c)Syntax
p = patch('Faces', F, 'Vertices', V)patch(x, y, c) draws triangles or axis-aligned quadrilaterals and exposes Type, Parent, FaceColor, FaceAlpha, EdgeColor, EdgeAlpha, LineStyle, LineWidth, DisplayName and Visible. Faces and Vertices are not properties of that form. The indexed form requires triangular faces (three columns) and three-column Vertices; those objects also expose Faces, Vertices, FaceVertexCData and VertexNormals.
Differences from MATLAB: Indexed faces must be triangles. Quad meshes are not supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.