RE: Axes for ListPlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg33523] RE: [mg33511] Axes for ListPlot3D
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 25 Mar 2002 03:44:57 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Allan,
I think you want the ListSurfacePlot routine from Graphics`Graphics3D`.
Needs["Graphics`Graphics3D`"]
data = Table[{x, y, x + y}, {y, -3, 4}, {x, 3, 8}];
ListSurfacePlot3D[data];
You would use ScatterPlot3D to plot a curve.
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
> From: Allan de Frates [mailto:allan.c.defrates at boeing.com]
To: mathgroup at smc.vnet.net
>
>
> Hello,
>
> Is there a way to change the axes values when using ListPlot3D? The axes
> always run from 1 to the highest element number. I would like to change
> them to correspond to the actual values used to generate data. For
> instance, I generate some data using Table[x+y,{y,-3,4},{x,3,8}] and
> then feed it to ListPlot3D. The x axis runs from 1 to 6 and the y axis
> runs from 1 to 8. What I want is the x axis to run from 3 to 8 the the y
> axis to run from -3 to 4.
>
> ListPlot allows the use of x,y pairs which assigns specific values to
> the x axis, but I can't figure out how to do the analogous thing for
> ListPlot3D.
>
> Allan de Frates
>
>