Re: 3D table plot Pbs

*To*: mathgroup at smc.vnet.net*Subject*: [mg13170] Re: 3D table plot Pbs*From*: dreissNOSPAM at nospam.earthlink.net (David Reiss)*Date*: Mon, 13 Jul 1998 07:42:19 -0400*Organization*: EarthLink Network, Inc.*References*: <6nskbn$fc3@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

ListPlot3D only takes a rectangular array of z-values as an argument. Thus, in your case you would want ListPlot3D[ Table[ z[i][j], {i,0,8},{j,0,4}]] There is also the function ListSurfacePlot3D in the add-on package Graphics3D that takes arguments in the form that you are trying. --David In article <6nskbn$fc3 at smc.vnet.net>, Lotfi BAGHLI <Lotfi.Baghli at green-uhp.u-nancy.fr> wrote: > Hi, > > Please, I would like you to tell me how can we plot in 3D a Table > z=f(x,y). > I don't want to have the fellowinf format : ( which uses i and j ) > > ListPlot3D[ Table[ z[i][j], {i,0,8},{j,0,4}]] > > In fact, I want to plot > > Table[ {x[i],y[j],z[i][j]}, {i,0,8},{j,0,4}] > > I want to use the x[i] and y[j] for the axes. > > In 2D, this works fine : > ListPlot[Table[ {x[i], z[i][0]}, {i,0,8}]] > > But in 3D this doesn't work : > ListPlot3D[ Table[ {x[i],y[j],z[i][j]}, {i,0,8},{j,0,4}]] > > > Thanks a lot for your help, Please find inclosed the .nb file. > > [Please contact the author to get this file. - moderator] -- David Reiss dreissNOSPAM at nospam.earthlink.net http://home.earthlink.net/~dreiss To send personal email, remove the words "nospam" and "NOSPAM" from the email address