Rotates tree ** intree** by multiplying each point
in space with a simple 3x3 (3D) or 2x2 (2D) rotation-matrix.
Rotation along principal components is also possible
(option '-pc2d' or '-pc3d').
Then first pc is in x, second pc is in y, third pc is in z.

Examples:

>> rot_tree (sample2_tree, [x 0 0])

>> rot_tree (sample2_tree, [0 y 0])

>> rot_tree (sample2_tree, [0 0 z])

This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License