mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
292 stars 186 forks source link

4-digit notation for tetragonal and 3-digit notation for trigonal #33

Closed rob02 closed 9 years ago

rob02 commented 9 years ago

Dear Ralf,

issue: when plotting colorbars for rutile (tetragonal) and corundum (trigonal), planes have been assigned incorrectly

%% plot EBSD data with ipd colour code 4/mmm
oM = ipdfHSVOrientationMapping(crystalSymmetry('4/mmm'));
%oM = ipdfHSVOrientationMapping(ebsd('rutile').cs_rutile.properGroup);
figure
plot(oM)
color = oM.orientation2color(ebsd('rutile').orientations);
figure
plot(ebsd('rutile'),color)

%% plot EBSD data with ipd colour code -3m1
oM2 = ipdfHSVOrientationMapping(crystalSymmetry('-3m1'));
%oM2 = ipdfHSVOrientationMapping(ebsd('corundum').cs_corundum.properGroup);
figure
plot(oM2)
color = oM2.orientation2color(ebsd('corundum').orientations);
figure
plot(ebsd('corundum'),color)
ralfHielscher commented 9 years ago

Hi rob,

thank you very much for this bug report. The bug will be fixed in MTEX 4.0.15.

Ralf.