Skip to content

crystal shape,The orientation of the cell is wrong mtex 5.11.1 #2107

Discussion options

You must be logged in to vote

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')

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@xiu-shen
Comment options

Comment options

You must be logged in to vote
1 reply
@xiu-shen
Comment options

Answer selected by xiu-shen
Comment options

You must be logged in to vote
2 replies
@kilir
Comment options

@xiu-shen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants