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
278 stars 183 forks source link

calc #1771

Closed jerabekp closed 1 year ago

jerabekp commented 1 year ago

What code do you use?

MSodf=calcDensity(ebsdcor('Muscovite').orientations,'halfwidth',10*degree);

figure, plotPDF(MSodf,Miller(0,0,1,CS{3}),'antipodal','minmax')%'grid','grid_res',10*degree,)
hold all
plotPDF(ebsdcor('Muscovite').orientations,Miller(0,0,1,CS{3}),'antipodal',...
    'MarkerSize',2,'MarkerColor','black')
hold off  

What result do you get see attached picture What result do you expect odf maximum is perpendicular to distribution of the points, it worked with the previous versions

What MTEX version do you use? 5.9 wrong_odf

kilir commented 1 year ago

Hi Petr, any chance that in the center of your plot, this single black point is actually many many points at the same position? You cou check by inspecting the orientations? Cheers, Rüdiger

jerabekp commented 1 year ago

Hi Rudiger, Sorry, I have done a stupid mistake by assigning the nonindexed data to the 'Muscovite' phase. This created the strange and very intense maximum of ODF in the center of the pole figure. I will now close the issue. Apologies! Cheers Petr