pyFDN.plot_matrix#
- pyFDN.plot_matrix(A, *, title=None, vmin=None, vmax=None, block_boundaries=None)[source]#
Plot a single matrix as a heatmap (RdBu, square pixels).
- Parameters:
A (
ArrayLike) – 2-D matrix to visualise.vmin (
float|None) – Color limits. If both None, uses(-1, 1).vmax (
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