Re: ListPlot3D of a Square Array
- To: mathgroup at smc.vnet.net
- Subject: [mg43076] Re: ListPlot3D of a Square Array
- From: bobhanlon at aol.com (Bob Hanlon)
- Date: Mon, 11 Aug 2003 02:15:55 -0400 (EDT)
- References: <bh4mbg$po4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Clear[m]; Array[m, {5,5}] {{m[1, 1], m[1, 2], m[1, 3], m[1, 4], m[1, 5]}, {m[2, 1], m[2, 2], m[2, 3], m[2, 4], m[2, 5]}, {m[3, 1], m[3, 2], m[3, 3], m[3, 4], m[3, 5]}, {m[4, 1], m[4, 2], m[4, 3], m[4, 4], m[4, 5]}, {m[5, 1], m[5, 2], m[5, 3], m[5, 4], m[5, 5]}} Standing alone (e.g., without being part of a Set statement), the results of an Array command are transient. Note the definition of m: ?m Global`m Whether or not there is anything to plot depends on the <fill up m> commands that you omitted. Perhaps you intended something like m=Array[3*#1-5*#2&, {5,5}]; ListPlot3D[m]; Bob Hanlon In article <bh4mbg$po4$1 at smc.vnet.net>, "Scott Guthery" <sguthery at mobile-mind.com> wrote: << Insight into the following is appreciated: Array[m, {5,5}] <fill up m> ListPlot3D[m] ListPlot3D grumps that m is not a rectangular array larger than 2x2. Looks like it is to me!?!? >><BR><BR>