matr
[1,2,3 or abc] or [abc a1b1c1] or [x11 x12 x13 y11 y12 y13 z11 z12 z13]
Orientates the model along; a (1 or
1 0 0
), b (2 or0 1 0
), c (3 or0 0 1
) or any other crystallographic direction e.g.123
, which sets the current normal along the $(1 \times a+2 \times b+3 \times c)$ vector. Two crystallographic directions (from and to) may be specified to align the current view normal along the (to-from) vector. Also a full Cartesian matrix can be specified. If the directions are signed or consist of multiple digits, all components should be of the same length like in1 2 0 1 0 1
or-1 +1 +1
(same as-1 0 1 0 1
). If no arguments are given, the current Cartesian orientation matrix is printed.
- -r: uses the reciprocal lattice instead of the direct.
>>matr 1
or>>matr a
or>>matr 100
- sets the current normal along the crystallographic a direction.>>matr 100 011
sets the current normal along the (0 1 1 -- 1 0 0
) direction (the normal direction changes if from and to are swapped)