DRAWELLIPSOID Draw a 3D ellipsoid. drawEllipsoid(ELLI) Displays a 3D ellipsoid on current axis. ELLI is given by: [XC YC ZC A B C PHI THETA PSI], where (XC, YC, ZC) is the ellipsoid center, A, B and C are the half lengths of the ellipsoid main axes, and PHI THETA PSI are Euler angles representing ellipsoid orientation, in degrees. drawEllipsoid(..., 'drawEllipses', true) Also displays the main 3D ellipses corresponding to XY, XZ and YZ planes. Example figure; hold on; drawEllipsoid([10 20 30 50 30 10 5 10 0]); axis equal; figure; hold on; elli = [10 20 30 50 30 10 5 10 0]; drawEllipsoid(elli, 'FaceColor', 'r', ... 'drawEllipses', true, 'EllipseColor', 'b', 'EllipseWidth', 3); axis equal; See also spheres, drawSphere, equivalentEllipsoid, ellipsoid, drawTorus, drawCuboid
Package: matgeom