Skip to content

Bainite ferritic duplex grain area, aspect ratio and slope statistics #9

Closed Answered by AzdiarGazder
Mikewangkang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Mikewangkang,

Thank you for the clarification.
I now understand what you're trying to calculate.
Here is the script to compute the angles of the fitted ellipses of all grains.

% clear variables
clc; clear all; clear hidden; close all;

% start Mtex
startup_mtex;

% define Mtex plotting convention as X = right, Y = up
setMTEXpref('xAxisDirection','east');
setMTEXpref('zAxisDirection','outOfPlane');
setMTEXpref('FontSize', 14);

% Import the dataset
ebsd = EBSD.load('newDuplex.ctf','interface','ctf',...
    'convertEuler2SpatialReferenceFrame');

%% Calculate the grains
% identify grains
[grains,ebsd.grainId,ebsd.mis2mean] = calcGrains(ebsd,'angle',[1 5].*degree,'unitcell');
% remove sm…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AzdiarGazder
Comment options

Answer selected by Mikewangkang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
no fix needed This does not require fixing
2 participants