Re: ListPlot3D of a Square Array
- To: mathgroup at smc.vnet.net
- Subject: [mg43085] Re: ListPlot3D of a Square Array
- From: Bill Rowe <listuser at earthlink.net>
- Date: Mon, 11 Aug 2003 02:16:01 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/10/03 at 1:46 AM, sguthery at mobile-mind.com (Scott Guthery) 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. The command Array[m,{5,5}] does not define m. Instead, it creates a 5 x 5 array where each element is determined by a function of indices name m. ListPlot3D wants a rectangular array of numbers. So, unless m is defined elsewhere ListPlot3D will complain. Try m = Array[Divide, {5,5}] ListPlot3D[m]