Skip to content

fill3

plot · scripts/plot/draw/fill3.m

: fill3 (x, y, z, c)
: fill3 (x1, y1, z1, c1, x2, y2, z2, c2, …)
: fill3 (…, prop, val)
: fill3 (ax, …)
: h = fill3 (…)

Draw filled three-dimensional polygons.

x, y and z have the same size; every column describes one polygon. The colour c is required: a colour letter or name, an RGB triple, or colour data with one value per vertex or per polygon.

The return value is a column vector of patch handles.