Misorientation histogram

169 views
Skip to first unread message

Ismael Coronado

unread,
May 31, 2013, 7:55:23 AM5/31/13
to mtex...@googlegroups.com
Hello,

I'm representing the misorientation through a histogram. I would like to know If is possible to extract the data of the histogram, or the misorientation data, because I would like use other representation software.

Thanks very much,

Ismael

Ralf Hielscher

unread,
May 31, 2013, 8:22:22 AM5/31/13
to mtex...@googlegroups.com
I guess you want to do the following:

1. Compute misorientations for some grains of same phase or different phase - does not matter
mori = calcMisorientation(grains)

2. compute the misorientation angles in degree
omega = angle(mori) / degree;

3. compute the histogram with a certain number of bins (here 20)
[counts,bins] = hist(angle,20)

counts gives you the number of angles in a certain bin
bins gives you the bin angles

I hope this helps,

Ralf.

Ismael Coronado

unread,
Jun 4, 2013, 5:55:10 AM6/4/13
to mtex...@googlegroups.com
Thanks a million Ralf, It's working perfectly.
Reply all
Reply to author
Forward
0 new messages