plot edit page

colorize grains

Syntax

plot(cS)
plot(cS,'colored') % colorize different faces
plot(cS,'colored',ipfKey)
plot(x,y,cS)
plot(x,y,z,cS)
plot(xy,cS)
plot(cS,'faceColor','red','faceAlpha',0.5,'edgeColor','k') % colorize by property
plot(cS,'faceColor',cS.faceAraea)

Input

cS crystalShape
x,y coodinates
xy nx2 or nx3 coordinate matrix
PatchProperty see documentation of patch objects for manipulating the apperance, e.g. 'EdgeColor'

See also

grains.plot