fill
Filled 2D polygon.
Syntax
Section titled “Syntax”h = fill(x, y, c, ...)Description
Section titled “Description”Fills the polygon with vertices (x, y) using color c (string, RGB, or numeric mapped to colormap). Multiple polygons can be drawn from matrix inputs (one per column).
Example
Section titled “Example”fill([0 1 1 0], [0 0 1 1], 'b') % blue square