mqr.plot.process.

capability#

mqr.plot.process.capability(summary: Summary, name: str, ax, nsigma=None, cp=None, show_long_term=False)#

Plots all three of the process histogram, fitted normal distribution, and tolerance region for the sample called name in summary.

Parameters:
summarymqr.process.Summary

Summary containing sample with name.

namestr

Name of process whose capability will be shown.

axmatplotlib.axes.Axes

Axes for the plot.

nsigmafloat, optional

How many stddevs of the Gaussian PDF to plot (total). Default 6.

cpfloat, optional

Width of the plot in triples of the standard deviation. Ie. when cp is 2, the width will be 6 standard deviations. Default 2.

show_long_termbool, optional

Plots two more densities shifted left and right by 1.5 standard deviations.

Examples

See example in mqr.plot.process.