MathGroup Archive 2006

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

Search the Archive

RE: plotting multidimensional arrays

  • To: mathgroup at
  • Subject: [mg69577] RE: [mg69547] plotting multidimensional arrays
  • From: "David Park" <djmp at>
  • Date: Sat, 16 Sep 2006 03:50:08 -0400 (EDT)

I always like to use Part rather than the double bracket notation because it
is more specific, easier to read, and avoids the kind of problem you ran

cc = Table[0, {i, 500}, {j, 500}];
Part[cc, 1, 2] := 20

David Park
djmp at

From: mickey [mailto:micky at]
To: mathgroup at


I have a list of numbers,

and so on. I would like to plot it as a 3 dimensional plot, with the
index as x and y and the value as the z value but I am having trouble
doing that. Here is what I was trying. I create the array first,


This works fine. Then I assign the values for the elements.


But here I get an error.

What am I doing wrong?


  • Prev by Date: Re: Re: Re: solve and Abs
  • Next by Date: Variables Within Homemade Functions
  • Previous by thread: plotting multidimensional arrays
  • Next by thread: Re: plotting multidimensional arrays