Skip to content

Commit

Permalink
Fixed bug in plotmap_blockwidths
Browse files Browse the repository at this point in the history
  • Loading branch information
frannie committed Nov 25, 2022
1 parent 1239a6e commit a2068d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plotMap_blockWidths.m
Expand Up @@ -36,6 +36,7 @@ function plotMap_blockWidths(job,varargin)

%% Define the child grain(s)
clusterGrains = job.grainsPrior(job.mergeId == pGrainId(ii));
clusterGrains(job.csChild);
% cEBSD = job.ebsdPrior(job.ebsdPrior.id2ind(pEBSD.id));
% cEBSD = cEBSD(job.csChild);

Expand Down Expand Up @@ -148,7 +149,7 @@ function plotMap_blockWidths(job,varargin)
% if check_option(varargin,'grains')
% Get all 111 vector3ds for each grain:
hh = Miller({1,1,1},{1,-1,1},{-1,1,1},{1,1,-1},job.p2c.CS);
hh = hh(job.packetId(job.mergeId == pGrainId))';
hh = hh(job.packetId(cGrains.id))';
zz = pGrain.meanOrientation.project2FundamentalRegion.*hh;

% drawnow;
Expand Down

0 comments on commit a2068d0

Please sign in to comment.