Plot the auto or cross correlation.
Plots lags on the horizontal and the correlations on vertical axis.
Parameters : | corr : array_like
ax : Matplotlib AxesSubplot instance, optional
lags : array_like, optional
use_vlines : bool, optional
**kwargs : kwargs, optional
|
---|---|
Returns : | fig : Matplotlib figure instance
|
See also
matplotlib.pyplot.xcorr, matplotlib.pyplot.acorr, mpl_examples
Notes
Adapted from matplotlib’s xcorr.
Data are plotted as plot(lags, corr, **kwargs)