MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ListPlot Axes

  • To: mathgroup at
  • Subject: [mg30595] Re: [mg30537] ListPlot Axes
  • From: Timothy Stiles <tastiles at>
  • Date: Thu, 30 Aug 2001 03:51:46 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

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

Medical Physics Graduate Student
University of Wisconsin-Madison

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 <>
  • 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