User Tools

Site Tools


software:mtex

This is an old revision of the document!


MTeX

MTEX is a free Matlab toolbox for analyzing and modeling crystallographic textures by means of EBSD or pole figure data. It runs inside matlab and it is very useful to work and plot grain orientations. The homepage for MTeX is at http://mtex-toolbox.github.io/ with an extensive user manual at http://mtex-toolbox.github.io/documentation.html.

These pages do not intend to provide a full MTeX manual (there is one already). We will just show tips and tricks which are useful to the community.

How to produce pole figures with MTeX

Depending on what you have as input data, the procedure might change.

Option 1: You have a list of Euler angles as input

For this option you need to have a text file with a list of Euler angles in the following format:
70.469029217 237.905359456 160.103826456
65.061195645 232.020366708 153.370063692
-83.53256124 160.47139216 52.262899769
81.812326561 201.132499009 220.391622469

Furthermore, have the correct .cif file ready. Now, go on with the following procedure:

  1. Load MTeX into MatLab and make sure that your workspace to the right is empty.
  2. Click on Import ODF data. A new window should open.
  3. In the new window, click on the + symbol to the right and choose the text file with the Euler angles. A window with a short example of your data is popping up. Below, assign each column to the correct Euler angle (usually phi1, Phi, phi2). Click Finish. The window will close and a short calculation is running. After that, the file name should be visible in the list. Click Next».
  4. Now, load the .cif file of your phase.
  5. Click Next» until the end or Finish immediately.
  6. In the workspace to the right, some parameters should have appeared. They need to be there to continue. To avoid the import procedure next time, save the current script.
  7. Type to the command line: plotPDF(odf,Miller({1,0,0},{0,1,0},{0,0,1},CS)) and press Enter. Depending on crystal symmetry other pole figures might be of interest.
  8. The pole figures should pop up. To see the intensity, click Insert Colorbar (a button in the figure window).

TIMEleSS MTeX tips and tricks

  • a first trick
software/mtex.1558013727.txt.gz · Last modified: by matthias