to_ipf_colormap#

OrientationMap.to_ipf_colormap(direction: ~orix.vector.vector3d.Vector3d = Vector3d (1,) [[0 0 1]], add_markers: bool = True)[source]#

Create a colored navigator and a legend (in the form of a marker) which can be passed as the navigator argument to the plot method of some signal.

Parameters:
  • direction (Vector3d) – The direction to plot the IPF in

  • add_markers (bool) – If True, the markers for the IPF will be added to the navigator as permanent markers.

Return type:

hs.signals.BaseSignal