fill3(X, Y, Z, C)
fill3(X1, Y1, Z1, C1, ..., Xn, Yn, Zn, Cn)
fill3(..., propertyName, propertyValue)
fill3(ax, ...)
go = fill3(...)
| Parameter | Description |
|---|---|
| X | x-coordinates: vector or matrix. |
| Y | y-coordinates: vector or matrix. |
| Z | z-coordinates: vector or matrix. |
| C | Color data or color specification. |
| Parameter | Description |
|---|---|
| go | graphics object handles of patch type. |
fill3 creates filled polygons in 3-D coordinates. Each input group creates one or more patch objects and supports patch name-value properties.
x = [0 1 0];
y = [0 0 1];
z = [0 1 0];
fill3(x, y, z, 'red');
view(3)