FILLPOLYGON3D Fill a 3D polygon specified by a list of vertex coords. fillPolygon3d(COORD, COLOR) packs coordinates in a single [N*3] array. COORD can also be a cell array of polygon, in this case each polygon is drawn using the same color. fillPolygon3d(PX, PY, PZ, COLOR) specifies coordinates in separate numeric vectors (either row or columns) fillPolygon3d(..., PARAM, VALUE) allows to specify some drawing parameter/value pairs as for the plot function. H = fillPolygon3d(...) also returns a handle to the list of created patch objects. Example t = linspace(0, 2*pi, 100)'; xt = 10 * cos(t); yt = 5 * sin(t); zt = zeros(1,100); figure; fillPolygon3d(xt, yt, zt, 'c'); See Also: polygons3d, drawPolygon3d, drawPolyline3d
Package: matgeom