line

(method of rotation)

draw rotations connected by lines

Syntax

line(rot,'linecolor','r','linewith',2)

Input

rot

list of rotation

Example

cs1 = crystalSymmetry('321')
cs2 = crystalSymmetry('432')
oR = fundamentalRegion(cs1,cs2)
plot(oR)
 
cs1 = crystalSymmetry  
 
  symmetry       : 321               
  a, b, c        : 1, 1, 1           
  reference frame: X||a*, Y||b, Z||c*
 
 
cs2 = crystalSymmetry  
 
  symmetry: 432    
  a, b, c : 1, 1, 1
 
 
oR = orientationRegion  
 
 crystal symmetry:  321, X||a*, Y||b, Z||c*
 crystal symmetry:  432
 max angle: 56.6003°
 face normales: 14
 vertices: 20
 
% connect to vertices of the fundamental region
f = fibre(oR.V(1),oR.V(2))
 
f = fibre  
 size: 1 x 1
 crystal symmetry:  321, X||a*, Y||b, Z||c*
 crystal symmetry:  432
 o1: (45°,55°,330°)
 o2: (225°,55°,150°)
% determine some orientations along the fibre
o = f.orientation
 
o = misorientation  
  size: 1000 x 1
  crystal symmetry : 321, X||a*, Y||b, Z||c*
  crystal symmetry : 432
 
% plot the line
hold on
line(o,'color','r','linewidth',2)
hold off

See also