pyFDN.plot_matrix#
- pyFDN.plot_matrix(A, title=None, zmin=None, zmax=None, *, block_boundaries=None)[source]#
Plot a single matrix as a heatmap (RdBu, square pixels).
- Parameters:
A (
ArrayLike) – 2-D matrix to visualise.zmin (
float|None) – Color limits. If both None, uses(-1, 1).zmax (
float|None) – Color limits. If both None, uses(-1, 1).block_boundaries (
Sequence[int] |None) – Indices at which to draw dashed dividing lines on both axes, e.g. to separate the sub-blocks of a coupled feedback matrix. A boundary at indexkis drawn between rows/columnsk-1andk.
- Return type:
Figure