close allclear allclc
% crystal symmetryCS = crystalSymmetry('m-3m', [2.8665 2.8665 2.8665], 'mineral', 'Iron-alpha', 'color', 'light blue');
% specimen symmetrySS = specimenSymmetry('1');
% plotting conventionsetMTEXpref('xAxisDirection','east');setMTEXpref('zAxisDirection','outOfPlane');
%% Specify File Names
% path to filespname = 'C:\Users\user\Desktop\Texture';
% which files to be importedfname = [pname '\BCC.txt'];
%% Import the Data
% create a variable containing the orientation data from EBSDCPFEM = load(fname);
% define euler anglesori = orientation('Euler',CPFEM(:,1)*degree,CPFEM(:,2)*degree,CPFEM(:,3)*degree,CS,'Bunge');
%% Plot orientations
figure;plotPDF(ori,[Miller(1,0,0,CS),Miller(1,1,0,CS),Miller(1,1,1,CS)],'all','contourf','grid');mtexColorbar;CLim(gcm,[0.09 3.79]);
Looking forward to your advice
Omar