How would you create a qq-plot using Python?
Assuming that you have a large set of measurements and are using some plotting function that takes XY-values as input. T
Using qqplot of statsmodels.api is another option:
qqplot
statsmodels.api
Very basic example:
import numpy as np import statsmodels.api as sm import pylab test = np.random.normal(0,1, 1000) sm.qqplot(test, line='45') pylab.show()
Result:
Documentation and more example are here