pyFDN.plot_impulse_response_matrix#
- pyFDN.plot_impulse_response_matrix(t, ir, *, xlabel=None, ylabel=None, title=None, xlim=None, ylim=None, fig=None, **plot_kwargs)[source]#
Plot matrix of impulse responses in a subplot grid (out x in).
- Parameters:
t (array-like, optional) – x-values (e.g. time). If None, uses 0 .. size(ir,2)-1.
ir (array-like) – Shape (n_samples, n_out, n_in). Each subplot is ir[:, out, in].
xlabel (str, optional) – Shared axis labels and title.
ylabel (str, optional) – Shared axis labels and title.
title (str, optional) – Shared axis labels and title.
xlim (tuple, optional) – Shared axis limits. If None, computed from data.
ylim (tuple, optional) – Shared axis limits. If None, computed from data.
fig (Figure, optional) – Figure to use.
**plot_kwargs (
Any) – Passed to ax.plot().
- Return type:
- Returns:
fig (Figure)
plot_axes (ndarray of Axes) – Shape (n_out, n_in).
plot_handles (ndarray of Line2D) – Shape (n_out, n_in).