3D table plot Pbs
- To: mathgroup at smc.vnet.net
- Subject: [mg13121] 3D table plot Pbs
- From: Lotfi BAGHLI <Lotfi.Baghli at green-uhp.u-nancy.fr>
- Date: Tue, 7 Jul 1998 03:44:24 -0400
- Organization: GREEN-UHP
- Sender: owner-wri-mathgroup at wolfram.com
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.
[Contact the author to obtain this notebook - moderator]