InversePoleFigurePlot#
- class orix.plot.InversePoleFigurePlot(*args: Any, symmetry: Optional[Symmetry] = None, direction: Optional[Vector3d] = None, hemisphere: Optional[str] = None, **kwargs: Any)[source]#
Bases:
StereographicPlot
Inverse pole figure plot of
Vector3d
, which is a stereographic plot for showing sample directions with respect to a crystal reference frame.- Parameters:
- *args
Arguments passed to
StereographicPlot
.- symmetry
Laue group symmetry of crystal to plot directions with. If not given, point group C1 (only identity rotation) is used.
- direction
Sample direction to plot with respect to crystal directions. If not given, the out of plane direction, sample Z, is used.
- hemisphere
Which hemisphere(s) to plot the vectors in. If not given,
"upper"
is used. Options are"upper"
,"lower"
and"both"
, which plots two projections side by side.- **kwargs
Keyword arguments passed to
StereographicPlot
.
Attributes
InversePoleFigurePlot.name
Methods
Plot an IPF color key code on this axis.
Compute the Inverse Pole Density Function (IPDF) of vectors in the stereographic projection.
InversePoleFigurePlot.scatter
(*args, **kwargs)A scatter plot of sample directions rotated by orientations, or orientations to rotate sample directions with.
InversePoleFigurePlot.set
(*[, adjustable, ...])Set multiple properties at once.
Add a hemisphere label (
"upper"
/"lower"
) to the upper left outside the inverse pole figure.