as_markers#

GeometricalKikuchiPatternSimulation.as_markers(lines: bool = True, zone_axes: bool = False, zone_axes_labels: bool = False, pc: bool = False, lines_kwargs: dict | None = None, zone_axes_kwargs: dict | None = None, zone_axes_labels_kwargs: dict | None = None, pc_kwargs: dict | None = None) List[MarkerBase][source]#

Return a list of simulation markers.

Parameters:
lines

Whether to return Kikuchi line markers. Default is True.

zone_axes

Whether to return zone axes markers. Default is False.

zone_axes_labels

Whether to return zone axes label markers. Default is False.

pc

Whether to return projection center (PC) markers. Default is False.

lines_kwargs

Keyword arguments passed to axvline() to format the lines.

zone_axes_kwargs

Keyword arguments passed to scatter() to format the markers.

zone_axes_labels_kwargs

Keyword arguments passed to Text() to format the labels.

pc_kwargs

Keyword arguments passed to scatter() to format the markers.

Returns:
markers

List with all markers.

See also

as_collections, plot