Re: Axes for ListPlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg33521] Re: [mg33511] Axes for ListPlot3D
- From: BobHanlon at aol.com
- Date: Mon, 25 Mar 2002 03:44:55 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 3/24/02 3:39:22 AM, allan.c.defrates at boeing.com writes:
>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.
>
Needs["Graphics`Graphics3D`"];
ListSurfacePlot3D[Table[{x,y,x+y},{y,-3,4},{x,3,8}], Axes->True];
Bob Hanlon
Chantilly, VA USA