diff --git a/doc/GrainBoundaries/BoundaryPlots.m b/doc/GrainBoundaries/BoundaryPlots.m index 9db404b63..772904c3d 100644 --- a/doc/GrainBoundaries/BoundaryPlots.m +++ b/doc/GrainBoundaries/BoundaryPlots.m @@ -190,6 +190,7 @@ % grain segementation and smoothing [grains,ebsd.grainId] = calcGrains(ebsd('indexed')); grains = smooth(grains,2); +gB = grains.boundary('iron','iron'); % and plot image quality + orientation plot(ebsd,log(ebsd.prop.iq),'figSize','large') diff --git a/doc/GrainBoundaries/CSLBoundaries.m b/doc/GrainBoundaries/CSLBoundaries.m index 982551ccb..bf8012c9e 100644 --- a/doc/GrainBoundaries/CSLBoundaries.m +++ b/doc/GrainBoundaries/CSLBoundaries.m @@ -98,7 +98,7 @@ % fundamental orientation zone. % compute the boundary of the fundamental zone -oR = fundamentalRegion(moriKey.CS1,moriKey.CS2,'antipodal'); +oR = fundamentalRegion(ebsd.CS,ebsd.CS,'antipodal'); close all plot(oR)