Explains how to globally configure MTEX, i.e. how to set a default Euler angle convention.

Global Configuration

The central place of all configuration of the MTEX toolbox is the m-file mtex_settings.m. There the following items can be customized

The Option System

Many functions provided by MTEX can be customized by options. An option is passed to a method as a string parameter followed by a value. For example, almost all plotting methods support the option RESOLUTION followed by a double value specifying the resolution

odf = SantaFe
odf = ODF  
  crystal symmetry : m-3m
  specimen symmetry: 222
  Uniform portion:
    weight: 0.73
  Radially symmetric portion:
    kernel: de la Vallee Poussin, halfwidth 10°
    center: (296.56505°,48.18969°,26.56505°)
    weight: 0.27

Options that are not followed by a value are called flags. In the above example, contour is a flag that says the plotting routine to plot contour lines. Options and flags to a function are always optional and can be passed in any order. If conflicting options or flags are passed, i.e., the resolution is specified twice, the later option in the list is considered to be the right one.