(method of EBSD)
checks which ebsd data are within given polygon
ind = inpolygon(ebsd,[xmin,ymin,dx,dy]) % select indices by rectangle ind = inpolygon(ebsd,[x1 y1; x2 y2; x3 y3; x4 y4]) % select indices by poylgon ebsd = ebsd(ind) % select EBSD data by indices
ebsd | |
xmin, xmax |
lower left corner of a rectangle |
dx, dy |
extend of a rectangle |
x, y |
vertices of a polygon ut |
ind |
logical |
DocHelp 0.1 beta |