direction2color#
- DirectionColorKeyTSL.direction2color(direction: Vector3d) ndarray[source]#
Return an RGB color per orientation given a Laue symmetry and a sample direction.
Plot the inverse pole figure color key with
plot().- Parameters:
- direction
Directions to color.
- Returns:
rgbColor array of shape
direction.shape + (3,).