DRAWPOLYGON3D Draw a 3D polygon specified by a list of vertex coords. drawPolygon3d(POLY); packs coordinates in a single N-by-3 array. drawPolygon3d(PX, PY, PZ); specifies coordinates in separate numeric vectors (either row or columns) drawPolygon3d(..., PARAM, VALUE); Specifies style options to draw the polyline, see plot for details. H = drawPolygon3d(...); also returns a handle to the list of created line objects. Example t = linspace(0, 2*pi, 100)'; xt = 10 * cos(t); yt = 5 * sin(t); zt = zeros(1,100); figure; drawPolygon3d(xt, yt, zt, 'b'); See Also: polygons3d, fillPolygon3d, drawPolyline3d
Package: matgeom