Is there an equivalent python function similar to normplot from MATLAB? Perhaps in matplotlib?
MATLAB Syntax:
x = normrnd(10,1,25,1); normplot(x)
gives:

I tried using the matplotlib and numpy modules to determine the probability / percentile of the values ββin the array, but the weight scales of the y-axis of the graph are linear compared to the graph from MATLAB.
import numpy as np import matplotlib.pyplot as plt data =[-11.83,-8.53,-2.86,-6.49,-7.53,-9.74,-9.44,-3.58,-6.68,-13.26,-4.52] plot_percentiles = range(0, 110, 10) x = np.percentile(data, plot_percentiles) plt.plot(x, plot_percentiles, 'ro-') plt.xlabel('Value') plt.ylabel('Probability') plt.show()
gives: 
Otherwise, how can you scale the scales, as in the first figure?
Thanks.
source share