Skip to content

Commit

Permalink
Added comparison plot to HabitPlane example
Browse files Browse the repository at this point in the history
  • Loading branch information
frannie committed Jul 12, 2023
1 parent fb6b9e1 commit 1b5b586
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ORTools_example09.m
Expand Up @@ -128,4 +128,13 @@
[~,ind_maxGrain] = max(job.grains.area);
[habitPlane4,~,~] = computeHabitPlane(job,'calliper','minClusterSize',20,...
'parentGrainId',ind_maxGrain,...
'plotTraces','noFrame','noScalebar');
'plotTraces','noFrame','noScalebar');

figure;
plot(habitPlane1.parent.project2FundamentalRegion,'fundamentalRegion','DisplayName','Radon','markerfacecolor','none','linewidth',2)
hold on
plot(habitPlane2.parent.project2FundamentalRegion,'fundamentalRegion','DisplayName','Shape','markerfacecolor','none','linewidth',2)
plot(habitPlane3.parent.project2FundamentalRegion,'fundamentalRegion','DisplayName','Hist','markerfacecolor','none','linewidth',2)
plot(habitPlane4.parent.project2FundamentalRegion,'fundamentalRegion','DisplayName','Calliper - Single Grain','markerfacecolor','none','linewidth',2)
plot(Miller(1,1,1,job.csParent,'hkl').project2FundamentalRegion,'fundamentalRegion','DisplayName','(1 1 1)','markerfacecolor','none','linewidth',2)
legend('Location','West')

0 comments on commit 1b5b586

Please sign in to comment.