the distribution of the misorientation angles: a histogram of a list of misorientations, a curve of a misorientation distribution function or of two random phases
Syntax
plotAngleDistribution(gB.misorientation)
Histogram of boundary misorientations.
plotAngleDistribution(mori, resolution=2*degree)
Narrower bins.
plotAngleDistribution(mdf)
Angle distribution of an MDF.
plotAngleDistribution(cs1, cs2)
Uncorrelated angle distribution of two phases.
plotAngleDistribution(cs1, cs1, displayName='uncorrelated')
With a legend entry.
Description
A list of misorientations is drawn as bars, the percentage of the misorientations in each bin. The bins run from 0 to the largest misorientation angle the two symmetries allow, or to the largest angle present when it is below half of that.
A misorientation distribution function, or the distribution of uncorrelated orientations of two frames, is drawn as a curve in multiples of the random distribution. Drawn into held axes holding a histogram, a list takes the same bins and a curve is scaled to percent of a bin, so that the two compare.
Each new bar set or curve takes the next of MTEX’s colours. Other keywords (color, lineWidth, …) go to matplotlib’s bar or plot.
Input
mori |
misorientation, a list of misorientations |
mdf |
SO3Fun, a misorientation distribution function |
cs1, cs2 |
crystalFrame, the two phases |
Keywords
| keyword | default | description |
|---|---|---|
figSize |
None |
the size of a new figure, ‘small’, ‘normal’, ‘large’, … |
resolution |
5*degree |
the width of the bins, in radians |
numBins |
None |
the number of bin edges instead of the resolution |
percent |
False |
draw a curve in percent instead of multiples of the random distribution |
displayName |
None |
the name of the bars or the curve in a legend |
Output
h |
the bar container of the histogram, or the line of the curve |
See also
plotAxisDistribution, calcAngleDistribution, MisorientationDistributionFunction, MisorientationTheory
Used on
AngleDistributionFunction, MisorientationDistributionFunction, MisorientationTheory
MATLAB’s plotAngleDistribution
source
Citing this page.
This page is part of the documentation of
MTEX, a free and open
source MATLAB toolbox for analyzing and modeling crystallographic textures.
It was written by The MTEX Developers and is published at
https://mtex-toolbox.github.io/plotAngleDistribution_py.html.
If you use MTEX, or reuse text or figures from this page, in your research,
please cite
F. Bachmann, R. Hielscher, H. Schaeben: Texture Analysis with MTEX - Free and Open Source Software Toolbox, Solid State Phenomena 160 (2010), 63-68. 10.4028/www.scientific.net/SSP.160.63
BibTeX
@article{bachmann2010mtex,
author = {F. Bachmann and R. Hielscher and H. Schaeben},
title = {Texture Analysis with MTEX - Free and Open Source Software Toolbox},
journal = {Solid State Phenomena},
volume = {160},
pages = {63-68},
year = {2010},
doi = {10.4028/www.scientific.net/SSP.160.63},
url = {https://doi.org/10.4028/www.scientific.net/SSP.160.63}
}
Other papers describing specific MTEX methods are listed under Publications — please cite the one that best fits your application. The MTEX source code is licensed under the GNU General Public License v2.0; the text and figures of this documentation are licensed under CC BY 4.0, which permits reuse — including by automated systems — provided The MTEX Developers and this page are credited.