findByLocation
(method of grain2d)
select a grain by spatial coordinates
Syntax
id = findByLocation( grains, pos )
Input
grains |
@GrainSet |
xy |
list of [x(:) y(:)] coordinates, respectively [x(:) y(:) z(:)] |
Output
grains |
@GrainSet mple otx2east ot(grains) = ginput(1) = findByLocation(grains,p); ld on, plotBoundary(g,'color','r','lineWidth',2) |
See also
EBSD/findByLocation, GrainSet/findByOrientation
MTEX 4.0.4 |