DRAWPOINT3D Draw 3D point on the current axis. drawPoint3d(X, Y, Z) will draw points defined by coordinates X, Y and Z. X, Y and Z are N*1 array, with N being number of points to be drawn. drawPoint3d(COORD) packs coordinates in a single [N*3] array. drawPoint3d(..., OPT) will draw each point with given option. OPT is a string compatible with 'plot' model. drawPoint3d(AX,...) plots into AX instead of GCA. H = drawPoint3d(...) returns a handle H to the line object Example % generate points on a 3D circle pts = circleToPolygon([40 30 20], 120); mat = eulerAnglesToRotation3d([30 20 10]); pts3d = transformPoint3d([pts zeros(120,1)],mat); figure; drawPoint3d(pts3d, 'b.'); view(3); axis equal; See also points3d, clipPoints3d, drawPoint
Package: matgeom