patch
Generic polygon (2D or 3D).
Syntax
Section titled “Syntax”h = patch(h, ...)Description
Section titled “Description”Lower-level function for drawing polygons. Accepts vertex coordinates, faces (vertex indices), and color data via name-value pairs ('Vertices', 'Faces', 'FaceColor', etc.). Use when fill / fill3 aren’t flexible enough.
Example
Section titled “Example”patch('Vertices', V, 'Faces', F, 'FaceColor', 'red')See also
Section titled “See also”fill— Filled 2D polygon.fill3— Filled 3D polygon.isosurface— Extract an isosurface from a 3D scalar volume.