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. intree should be first centred with “tran_tree” except if rotation around a different point is required.

Examples:

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

TREES

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

TREES

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

TREES

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