We start by importing some EBSD data and reconstructing some grains
Phase maps
When using the plot command without additional argument the associated color is defined by color stored in the crystal symmetry for each phase
Accordingly, changing the color stored in the crystal symmetry changes the color in the map
The color can also been specified directly by using the option FaceColor.
Orientation Maps
Coloring grains according to their mean orientations is very similar to EBSD maps colored by orientations. The most important thing is that the misorientation can only extracted from grains of the same phase.
This implicit way gives no control about how the color is computed from the meanorientation. When using the explicit way by defining a orientation to color map
we can set the inverse pole figure direction and many other properties
Plotting arbitrary properties
As we have seen in the previous section the plot command accepts as second argument any list of RGB values specifying a color. Instead of RGB values the second argument can also be a list of values which are then transformed by a colormap into color.
As an example we colorize the grains according to their aspect ratio.
we see that we have a very elongated grain which makes it difficult to distinguish the aspect ration of the other grains. A solution for this is to specify the values of the aspect ration which should mapped to the top and bottom color of the colormap
Colorizing circular properties
Sometimes the property we want to display is a circular, e.g., the direction of the grain elongation. In this case it is important to use a circular colormap which assign the same color to high values and low values. In the case of the direction of the grain elongation the angles 0 and 180 should get the same color since they represent the same direction.
Plotting the orientation within a grain
In order to plot the orientations of EBSD data within certain grains one first has to extract the EBSD data that belong to the specific grains.
Visualizing directions
We may also visualize directions by arrows placed at the center of the grains using the command quiver.
Labeling Grains
In the above example the vectors are centered at the centroids of the grains. We may also use the command text to display an arbitrary text on top of each grain.