Hello,
Now I'm using MTEX to deal with xenolith data, when dealing with diopside, I want to show plane (100), (010) and direction [001]'s PDF in one figure, so I type the scripts like this:
%% Pole figure Diopside
% pole figure
o_an_all = ebsd('Diopside').orientations; % All Diopside orientations
o_an_1pg = grains(grains.grainSize >= 16,'Diopside').meanOrientation; % meanOrientation = one point per grain
% Define orientations to be plotted
orientations = [Miller(1,0,0,ebsd('Diopside').CS,'plane'), ...
Miller(0,1,0,ebsd('Diopside').CS,'plane'), ...
Miller(0,0,1,ebsd('Diopside').CS,'direction')];
figure
plotPDF(o_an_1pg,orientations, ...
'hemisphere','lower','projection','earea','antipodal', ...
'npoints',1000,'markersize',2)
the command window says:
Warning: Miller indices are converted to hkl
> In Miller.cat at 21
In vector3d.horzcat at 4
and the figure is shown as figure 1, the third pole figure shows as (---).
If I change the scripts as following:
% Define orientations to be plotted
orientations = [Miller(1,0,0,ebsd('Diopside').CS,'plane'), ...
Miller(0,1,0,ebsd('Diopside').CS,'plane')];
orientations2 = [Miller(0,0,1,ebsd('Diopside').CS,'direction')];
figure
plotPDF(o_an_1pg,orientations,orientations2, ...
'hemisphere','lower','projection','earea','antipodal', ...
'npoints',1000,'markersize',2)
The figure shows (100) and (010) pole figures only (figure 2), without [001] pole figure. No abnormal information in command window.
If I change the scripts as following:
% Define orientations to be plotted
orientations = [Miller(1,0,0,ebsd('Diopside').CS,'plane'), ...
Miller(0,1,0,ebsd('Diopside').CS,'plane')];
figure
plotPDF(o_an_1pg,orientations, ...
'hemisphere','lower','projection','earea','antipodal', ...
'npoints',1000,'markersize',2)
% Define orientations to be plotted
orientations = [Miller(0,0,1,ebsd('Diopside').CS,'direction')];
figure
plotPDF(o_an_1pg,orientations, ...
'hemisphere','lower','projection','earea','antipodal', ...
'npoints',1000,'markersize',2)
The plane pole figures (figure 2) and direction pole figure (figure 3) were shown separately. No abnormal information in command window.
So I want to combine the information of figure2 and 3 together, please give me a hand.
Thanks
Yilun Shao