iq_readout.plots.shots1d.plot_pdf_projected#
- plot_pdf_projected(ax, shots_proj, pdf_func, label=None, color='blue')[source]#
Plots the projected experimental histogram and the fitted pdf in the given axis.
- Parameters:
- ax
Matplotlib axis.
- shots_proj: np.ndarray(N)
Projected experimental data.
Probability density function for the projected data.
- label
Label for the data. Default: no label.
- color
Color for the data. Default: blue.
- Returns:
- ax
Matplotlib axis with the data plotted.