as_markers#
- GeometricalKikuchiPatternSimulation.as_markers(lines: bool = True, zone_axes: bool = False, zone_axes_labels: bool = False, pc: bool = False, lines_kwargs: Optional[dict] = None, zone_axes_kwargs: Optional[dict] = None, zone_axes_labels_kwargs: Optional[dict] = None, pc_kwargs: Optional[dict] = 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