crystal shape,The orientation of the cell is wrong mtex 5.11.1 #2107
Answered
by
ralfHielscher
xiu-shen
asked this question in
Ask Anything
-
I want to map the cell of a specific grain and the slip system |
Beta Was this translation helpful? Give feedback.
Answered by
ralfHielscher
Apr 7, 2024
Replies: 3 comments 4 replies
-
Hi Xiu,
This will resolve you issue. Ralf. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For me the following code works perfectly figure(1)
grains =calcGrains(ebsd('indexed'))
cS = crystalShape.hex(ebsd.CS);
plot(grains.boundary)
hold on
plot(grains, cS * 0.8,'linewidth', 1, 'colored')
hold off
[x, y] = ginput(1);
ori = ebsd(x,y).orientations
figure(2);
plot(ori * cS,'colored')
setCamera('default') |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xiu-shen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For me the following code works perfectly