ipf color key issue

212 views
Skip to first unread message

Shuang Xie

unread,
Jan 25, 2016, 5:01:07 PM1/25/16
to MTEX
Hi there, 

I am facing a an ipf map coloring problem in Ti64 alloys EBSD. When I selecting the X//a*or X//a, in hcp, the euler angle of one certain pixel has 90 degree rotation between them in Phi1, which is presented by the map correctly. However, in both case, the color of these certain pixels/grains present a same color. When I use
ebsd=ebsd('Ti -alpha');
[grains,ebsd.grainId] = calcGrains(ebsd,'angle', 5*degree);
oM = ipdfHSVOrientationMapping(grains.meanOrientation); 
plot(oM)

The color key is the same again?(which should rotate 90 degree to match the same color to different miller index)....

What I know:

1. It seems the default set of the 
oM.inversePoleFigureDirection = zvector  
When I changed to x vector, both case change to the same color again.

2. In one case(I cannot remember which one), I have to change the setting to fit the right ipf color, referring to my original EBSD scan software as follow:
oM.colorPostRotation = reflection(yvector);

My question is that the ipf color key is another separately default set no matter whether what the euler angle is and I need to rotate the color key when I changed X direction OR I have done something wrong that each time I plot out the same ipf color legend when tmex have changed it already?

Cheers,

Shuang Xie

Ralf Hielscher

unread,
Jan 31, 2016, 11:19:05 AM1/31/16
to MTEX
Hi Shuang,

you observation is correct. In the current MTEX version the color key is fixed to the xvector. This mean x will have the same color regardless if the crystal reference frame is set up with x||a or x||a*. As the Euler angles refer to the xyz coordinate system also your EBSD map will look identical.

In the upcoming MTEX version I have changed this. Then the crystal direction a = [1,0,0] will be fixed to a certain color and hence the EBSD map will change.

You may indeed change the colormap by

oM.colorPostRotation = reflection(yvector)

to achieve the fit.

Ralf
Reply all
Reply to author
Forward
0 new messages