register_projections#

orix.plot.register_projections() None[source]#

Register custom Matplotlib projections.

This must be called when using one of our custom projections in Matplotlib.

Examples

>>> import matplotlib.pyplot as plt
>>> from orix.plot import register_projections
>>> fig = plt.figure()

May fail

>>> ax = fig.add_subplot(projection="stereographic")

Works

>>> register_projections()
>>> ax = fig.add_subplot(projection="stereographic")
../../_images/orix-plot-register_projections-1.png

Examples using register_projections#

Select and modify data

Select and modify data

Inverse pole density function

Inverse pole density function

Color scatter plots

Color scatter plots

Subplots

Subplots

Visualizing orientations

Visualizing orientations

Visualizing paths between rotations and vectors

Visualizing paths between rotations and vectors

Combining rotations

Combining rotations

Rotations mapping the fundamental sector on S2

Rotations mapping the fundamental sector on S2

Plot symmetry operations

Plot symmetry operations

Restrict to fundamental sector

Restrict to fundamental sector

Wulff net

Wulff net

Zoom region inset

Zoom region inset