DRAWPLANE3D Draw a plane clipped by the current axes.
drawPlane3d(PLANE) draws a plane of the format:
[x0 y0 z0 dx1 dy1 dz1 dx2 dy2 dz2]
drawPlane3d(...,'PropertyName',PropertyValue,...) sets the value of the
specified patch property. Multiple property values can be set with
a single statement. See function patch for details.
drawPlane3d(AX,...) plots into AX instead of GCA.
H = drawPlane3d(...) returns a handle H to the patch object.
Example
p0 = [1 2 3];
v1 = [1 0 1];
v2 = [0 -1 1];
plane = [p0 v1 v2];
axis([-10 10 -10 10 -10 10]);
drawPlane3d(plane)
drawLine3d([p0 v1])
drawLine3d([p0 v2])
set(gcf, 'renderer', 'zbuffer');
See also
planes3d, createPlane, patch
Package: matgeom