fill3
Create filled 3-D patches.
📝Syntax
fill3(X, Y, Z, C)
fill3(X1, Y1, Z1, C1, ..., Xn, Yn, Zn, Cn)
fill3(..., propertyName, propertyValue)
fill3(ax, ...)
go = fill3(...)
📥Input Arguments
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.
📤Output Arguments
Parameter Description
go graphics object handles of patch type.
📄Description

fill3 creates filled polygons in 3-D coordinates. Each input group creates one or more patch objects and supports patch name-value properties.

💡Examples
x = [0 1 0];
y = [0 0 1];
z = [0 1 0];
fill3(x, y, z, 'red');
view(3)
Example illustration
🔗See Also
fillpatch
Edit this page on GitHub