Re: how to convert a matrix to a graphy

*To*: mathgroup at smc.vnet.net*Subject*: [mg49207] Re: how to convert a matrix to a graphy*From*: Bill Rowe <readnewsciv at earthlink.net>*Date*: Wed, 7 Jul 2004 01:43:01 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

On 7/6/04 at 3:34 AM, jianchaoyao at hotmail.com (Justin) wrote: >The matrix A is a 8*8 one. The largest gray level is a_max and the >smallest is -a_max. >I wanna convert this matrix to a graphy. How to do? There are a number of different ways to graph the values of a matrix. Which is best will depend on what you want. You could try: ListDensityPlot[matrix]; ListContourPlot[matrix]; ListPlot3D[matrix]; Or if you want a graphical representation of the matrix structure, try <<<< LinearAlgebra`MatrixManipulation` MatrixPlot[data]; or <<Statistics` PairwiseScatterPlot[data]; Note, this last was introduced in Mathematica version 5 -- To reply via email subtract one hundred and four