plot#
- Simulation1D.plot(ax=None, annotate_peaks=False, fontsize=12, with_labels=True, rotation=90, va='bottom', ha='center', **kwargs)[source]#
Plots the 1D diffraction pattern,
- Parameters:
- ax
matplotlib.axes.Axes,optional The axes to plot on. If None, a new figure and axes are created.
- annotate_peaksbool,
optional Whether to annotate the peaks with their hkl indices. Default is False.
- ax