EBSD and CSL maps are genereated using the MATLAB toolbox MTEX: https://mtex-toolbox.github.io/

To install and start MTEX, see: https://mtex-toolbox.github.io/download.html

Older versions than MATLAB 2012b have not been tested and may not work with MTEX.

Then open and run the MATLAB script “EBSD_CA.m” provided in tutorial folders. The EBSD log file, namely log_EBSD.ctf must be created before hand by setting EcrireEBSD= 1 aswell as the associated keys, i.e. f_EBSD and f_Orientation in the ModeleCellules constructor initiated in a specific mtc file. See https://wiki.sophia.mines-paristech.fr/doku.php?id=cemef:cfl:documentations_cimlib:modules_services_cimlib:modelecellules for more details (in french, sadly).

This script automatically displays one EBSD map with respect to a specific direction of observation and the CSL map. By the default the direction of observation corresponds to the x-axis of the sample frame. To change it, see line 43:

oM.inversePoleFigureDirection = xvector;

and change xvector to yvector if the y-axis is needed.

For further data and outputs, see: https://mtex-toolbox.github.io/documentation.html

There is no problem in making any changes to the provided MATLAB script.

IPF triangle in a specific direction can be plotted using:

oM = ipdfHSVOrientationMapping(ebsd);
oM.inversePoleFigureDirection = xvector;
plot(oM, 'FontSize', 20)

Again, the direction is specified here by:

xvector