spy
Display the locations of nonzero elements of a matrix in a scatter plot.
spy(a)
Inputs
a Any matrix.


Description
This function displays a scatter plot of the pairs i,j for only those pairs for which the elements a[i,j] are non-zero.
Example
>>s=sprand(150,200,.2)
>>spy(s)
>>title("Non-Zero Elements of a Sparse Matrix");
>>ylabel("Rows")
>>xlabel("Columns")