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)
% plot an inner plane
plot(cS, Miller(1,1,0,cS.CS,'hkl'))
% visualize a slip system
plot(cS, sS)

Input

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

See also

grains.plot