MathGroup Archive 2003

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

Search the Archive

Re: using of Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38931] Re: using of Table
  • From: Bill Rowe <listuser at earthlink.net>
  • Date: Mon, 20 Jan 2003 00:45:30 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 1/19/03 at 12:32 AM, asare at vt.edu (yaw) wrote:

>a={2,3,5} c={3,5,3} t={-1,3,5} I am using
>Table[a*k+b*c+v*t,{k,1,2},{b,1,2},{v,1,2}] to generate some points.
>After this I need to plot the points by using 3D commands like
>Scatter3DPlot. How can I get the points from Table in the form of a
>list so that I can plot them?.

One way (not necessarily the best) would be

Flatten[Transpose[Flatten[r,1]],1]

where r = Table[a*k+b*c+v*t,{k,1,2},{b,1,2},{v,1,2}]


  • Prev by Date: spinning/rotating object with shadow
  • Next by Date: Re: STRAIGHT LINES SEGMENTS !!!
  • Previous by thread: using of Table
  • Next by thread: Re: using of Table