cdf

pylayers.antprop.loss.cdf(x, colsym='', lab='', lw=4)[source]

plot the cumulative density function

x : np.array() colsym : string lab : string lw : int

linewidth

>>> import numpy as np
>>> import matplotlib.pyplot as plt 
>>> x = np.random.randn(10000)
>>> cdf(x)
>>> plt.show()

(Source code)