matplotlib.pyplot.acorr(x, hold=None, data=None, **kwargs)¶Plot the autocorrelation of x.
| Parameters: | x : sequence of scalar hold : bool, optional, deprecated, default: True detrend : callable, optional, default:
normed : bool, optional, default: True
usevlines : bool, optional, default: True
maxlags : integer, optional, default: 10
|
|---|---|
| Returns: | lags : array (lenth
c : array (length
line :
b :
|
| Other Parameters: | |
linestyle :
marker : string, optional, default: ‘o’ |
|
Notes
The cross correlation is performed with numpy.correlate() with
mode = 2.
Note
In addition to the above described arguments, this function can take a data keyword argument. If such a data argument is given, the following arguments are replaced by data[<arg>]: