MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: plot matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27748] Re: plot matrix
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 14 Mar 2001 04:06:47 -0500 (EST)
  • References: <98kn4f$phu@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Win,
I'm not sure what you want, but here are some suggesstions:


mat= {{1,1,1,1,1},{2,0,0,0,0},{2,0,0,0,0}};

Notice different arangement of the axes below.
We can set the ticks using the option Ticks.
For the large number of points in your example you will need to use the
option Mesh->False, otherwise all will be black.

ListPlot3D[mat, MeshRange->{{2,6},{5,7}}];


ListDensityPlot[mat, MeshRange->{{5,7},{2,6}}];

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Su Su Win" <susuwin at post.kek.jp> wrote in message
news:98kn4f$phu at smc.vnet.net...
> I have a big matrix of (4095 rows x 1280 column).
> I want to plot those data in 3D graph just like listplot in both
directions.
> How shall i do for the x and y axis?
> best, win
>
>
>




  • Prev by Date: RE: Best code to match corresponding list items?
  • Next by Date: Re: plot matrix
  • Previous by thread: Re: plot matrix
  • Next by thread: RE: plot matrix