rotate

(method of EBSD)

rotate EBSD orientations or spatial data around point of origin

Syntax

% roate the whoole data set about the z-axis by 90*degree
ebsd = rotate(ebsd,10*degree)
% rotate about the x-axis
ebsd = rotate(ebsd,rotation('axis',xvector,'angle',180*degree))
% roate only the spatial data
ebsd = rotate(ebsd,180*degree,'keepEuler')

Input

ebsd

EBSD

angle

double

q

quaternion

param Options that control the rotate behavior
Parameter Description
'keepXY'

rotate only the orientation data, i.e. the Euler angles

'keepEuler'

rotate only the spatial data, i.e., the x,y, and z values

Output

ebsd

EBSD