Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Plotting Sparse Matrices

A convenient way to plot sparse matrices is with the function MatrixPlot. It is defined in the package LinearAlgebra`MatrixManipulation` and described in greater detail in the section Plotting Matrices. Note that in order to use the function, the package must first be loaded.

In[1]:= 

This reads in a sparse matrix, using the Import function demonstrated in the previous section.

In[2]:= 

Out[2]=

The matrix can be plotted. This is a useful way to see the structure of the matrix.

In[3]:= 

If the matrix is multiplied with itself the result is less sparse, but it still has a related structure.

In[4]:= 


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: