DRAWPOLYLINE3D Draw a 3D polyline specified by a list of vertex coords. drawPolyline3d(POLY); packs coordinates in a single N-by-3 array. drawPolyline3d(PX, PY, PZ); specifies coordinates in separate numeric vectors (either row or columns) drawPolyline3d(..., CLOSED); Specifies if the polyline is closed or open. CLOSED can be one of: - 'closed' - 'open' (the default) - a boolean variable with value TRUE for closed polylines. drawPolyline3d(..., PARAM, VALUE); Specifies style options to draw the polyline, see plot for details. H = drawPolyline3d(...); 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; drawPolyline3d(xt, yt, zt, 'b'); See Also: polygons3d, drawPolygon3d, fillPolygon3d
Package: matgeom