DRAWAXIS3D Draw a coordinate system and an origin.
drawAxis3d
Adds three 3D arrows to the current axis, corresponding to the
directions of the 3 basis vectors Ox, Oy and Oz.
Ox vector is red, Oy vector is green, and Oz vector is blue.
drawAxis3d(L, R)
Specifies the length L and the radius of the cylinders representing the
different axes.
drawAxis3d(..., 'TFM', TRANSFORM)
Transforms the coordinate system before drawing using TRANSFORM.
H = drawAxis3d(...) returns the group handle of the axis object.
Example
drawAxis3d
figure;
drawAxis3d(20, 1);
view([135,15]); lighting('phong'); camlight('head'); axis('equal')
xlabel X; ylabel Y; zlabel Z
See also
drawAxisCube
------
Author: David Legland
e-mail: david.legland@nantes.inra.fr
Created: 2007-08-14, using Matlab 7.4.0.287 (R2007a)
Copyright 2007 INRA - BIA PV Nantes - MIAJ Jouy-en-Josas.
Package: matgeom