       Re: ListPlot Axes

• To: mathgroup at smc.vnet.net
• Subject: [mg30595] Re: [mg30537] ListPlot Axes
• From: Timothy Stiles <tastiles at students.wisc.edu>
• Date: Thu, 30 Aug 2001 03:51:46 -0400 (EDT)
• References: <200108280854.EAA02091@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```The option you want is called MeshRange. It sets the range of x and y values
in ListPlot3D. I think the following will give you what you want.

ListPlot3D[Table[Sin[x+y],{x,-1,-0.2,0.1},{y,0,1,0.1}], MeshRange->{{-0.1,
0.1}, {-1, -0.2}}];

I'm not 100% sure about the order of the ranges in the above command, but I
think they're right. If not, switch it to

ListPlot3D[Table[Sin[x+y],{x,-1,-0.2,0.1},{y,0,1,0.1}], MeshRange->{{-1,
-0.2}, {-0.1, 0.1}}];

Hope this helps.

Timothy Stiles

Jonathan Keith Karpick wrote:

> I've made a ListPlot using a Table command, for example:
>   ListPlot3D[Table[Sin[x+y],{x,-1,-0.2,0.1},{y,0,1,0.1}]];
>
> Is there any way to get Mathematica to use the x and y values I gave as
> the labels for the x and y axes?  The above command will have 1-9 for its
> x-axis and 1-11 for its y-axis.
>
> Thanks,
> Jonathan Karpick

```

• References:
• ListPlot Axes
• From: Jonathan Keith Karpick <jkarpick@stanford.edu>
• Prev by Date: Re: Delete All Output (bug)
• Next by Date: Re: Section Grouping?
• Previous by thread: ListPlot Axes
• Next by thread: Re: ListPlot Axes