Skip to content

fill3

Filled 3D polygon.

h = fill3(x, y, z, c, ...)

3D version of fill. Vertices form a polygon in 3D space, filled with color c.

fill3([0 1 1 0], [0 0 1 1], [0 0 1 1], 'r')
  • fill — Filled 2D polygon.
  • patch — Generic polygon (2D or 3D).