grain2d.plot edit page

colorize grains

Syntax

plot(grains)          % colorize by phase
plot(grains,property) % colorize by property
plot(grains,cS)       % visualize crystal shape
plot(grains,S2F)      % visualize a tensorial property on top of the grains

Input

grains grain2d
cS crystalShape

Output

h graphics handle
mP mapPlot

Options

PatchProperty all matlab patch properties
noBoundary do not plot boundaries
displayName name used in legend
region [xmin, xmax, ymin, ymax] of the plotting region
scale scaling of crystal shapes and tensorial properties (0.3)
micronBar 'on' / 'off'
refFrame 'on' / 'off' - indicate the alignment of the specimen reference frame inside the scale bar box, see scaleBar
refFrameDirs vector3d, the directions to indicate (default xvector, yvector, zvector)
refFrameLabels cell of char, their labels (default {'x','y','z'})

See also

EBSD.plot grainBoundary.plot