plotEllipse edit page

plot multiple ellipses

Syntax

[omega,a,b] = principalComponents(grains);
plotEllipse(grains.centroid,a,b,omega,'lineColor','r')

Input

cxy center of the ellipse
a,b length of the half axes
omega orientation of the ellipse

Options

lineColor colorspec

See also

grain2d.plot grainBoundary.plot grain2d.principalComponents