get_plot#

ProfileSimulation.get_plot(annotate_peaks=True, with_labels=True, fontsize=12)[source]#
Plots the diffraction profile simulation for the

calculate_profile_data method in DiffractionGenerator.

Parameters:
  • annotate_peaks (boolean) – If True, peaks are annotaed with hkl information.

  • with_labels (boolean) – If True, xlabels and ylabels are added to the plot.

  • fontsize (integer) – Fontsize for peak labels.