spatialProfile

(method of EBSD)

select EBSD data along line segments

Syntax

% returns a sorted list of ebsd data along lineX
[ebsd_lineX,dist] = spatialProfile(ebsd,lineX)

Input

ebsd

EBSD

lineX

list of spatial coordinates [x(:) y(:)] of if 3d [x(:) y(:) z(:)], where $x_i,x_{i+1}$ defines a line segment

Output

ebsd

EBSD restrcited to the line of interest

dist

double distance along the line to the initial point

Example