plotEllipse

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

param,val Parameters and values that control plotEllipse
Parameter Description
'lineColor'

colorspec

See also

grain2d/plot, grainBoundary/plot, grain2d/principalComponents