XLPack for Matplotlib Experimental Version 0.1
Reference Manual
Loading...
Searching...
No Matches

◆ Spy()

Function Spy ( M As  Long,
N As  Long,
A() As  Double,
Optional KwArgs As  String 
)

Sparsity pattern of 2D array

Purpose
Plot the sparsity pattern plot of a 2D array.
Returns
PyObject (AxesImage or Line2D).
(On error, Nothing is returned)
Parameters
[in]MNumber of rows of the array. (M > 0)
[in]NNumber of columns of the array. (N > 0)
[in]A()Array A(LA1 - 1, LA2 - 1) (lz >= n)
The array to be plotted.
[in]KwArgs(Optional)
Optional keyword parameters. (default = "")
Example
Plot sparsity pattern of 2D array.