![]() %All of the figures here were done for the alpha phase, which is phase #1 %in grains. PlotIPDF(grains(grains.phase=1).meanOrientation,dir, 'contourf') The following code will create an IPF for a direction halfway %between the x and y directions (so going diagonally across the map) %If you want to plot an IPF for an arbitrary direction you can do that as %well. PlotIPDF(grains(grains.phase=1).meanOrientation,zvector, 'contourf') PlotIPDF(grains(grains.phase=1).meanOrientation,yvector, 'contourf') PlotIPDF(grains(grains.phase=1).meanOrientation,xvector, 'contourf') = calcGrains(ebsd( 'indexed'), 'angle',5*degree) Here we also show that you can %use mean orientation data from grains instead of considering each %individual pixel. The 3 figures below plot inverse pole figures for the %x,y, and z directions of the ebsd map. Inverse pole figures %If you want to plot an inverse pole figure to see which crystal %orientations are aligned along a given sample direction, MTEX can do it %quite easily. The option "all" ensures that all data are plotted You can specify the the number points by the option "points". I'm plotting 416 random orientations out of 213854 given orientations PlotPDF(ebsd( 'Zirconium').orientations, 'contourf',0:1:6) If you prefer unfilled plots you can use contour instead of %contourf The %contourf option will plot the PF as a filled contour plot, and the option %after it sets the scale of the contours, in this case from 0 to 6 mrd in %steps of 1. %Having all these points makes it difficult to see what's going on, and %it's oftentimes more useful to display PF's as contour plots. PlotPDF(ebsd( 'Zirconium').orientations, 'points', 'all', 'markerSize',3) It's also useful %to change the marker size If you want to plot all othe points, %you can do so by setting the 'points' option to 'all'. %The plot we just made will randomly plot a certain number of points from %the ebsd map onto the pole figure. PlotPDF(ebsd( 'Zirconium').orientations,) First, define the crystallographic directions you'd %like to create pole Figures for, then use the plotPDF command as below: Plotting pole figures from EBSD data %We can take the orientaion data from an EBSD structure and use it to %generate pole figures. Calculating an Orientation Distribution Function from EBSD data.Furthermore, we also apply ghost correction and compare the approximation error to the previous reconstructions. calcError ( odf, model_odf, 'resolution', 5 * degree ) ans =Ġ.0815 Exploration of the relationship between estimation error and number of pole figuresįor a more systematic analysis of the estimation error, we vary the number of pole figures used for ODF estimation from 1 to 7 and calculate for any number of pole figures the approximation error. Which can be plotted, plot ( odf, 'sections', 6, 'silent', 'sigma' )Īnd compared to the original model ODF. Kernel: de la Vallee Poussin, halfwidth 5°Ĭenter: 29758 orientations, resolution: 5° plot ( pf ) ODF Estimation from Pole Figure Dataįrom these simulated pole figures we can now estimate an ODF, odf = calcODF ( pf ) odf = ODF Here we assume that the mean intensity is 1000. pf = calcPoleFigure ( model_odf, h, r ) pf = PoleFigureĪdd some noise to the data. Now the pole figures can be simulated using the command calcPoleFigure. The grid of specimen directions r = regularS2Grid ( 'resolution', 5 * degree ) Texture evolution in rolled magnesium during uniaxial tension.Plot seismic wave velocities and polarization directions for aggregates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |