SPY

 

 Visualize the sparsity structure.

  SPY(S) plots the sparsity pattern of any matrix S.

  SPY(S,color) uses the specified marker color instead of yellow.

  SPY(S,marksize) uses the specified marker size instead of

  a size which depends upon the figure size and the matrix order.

  SPY(S,color,marksize) and SPY(S,marksize,color) are allowed.