MathGroup Archive 2001

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

Search the Archive

ListPlot vs ListPlot3D

  • To: mathgroup at
  • Subject: [mg28884] ListPlot vs ListPlot3D
  • From: Otto Linsuain <linsuain+ at>
  • Date: Thu, 17 May 2001 04:22:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Dear Mathematica experts, I was wondering if there is a way of plotting
a 3D graph using a rectangular array of z-values USING THE CORRESPONDING

Here is what I mean:

with a 2D plot, one can do:

ListPlot[ {y1,y2,y3,.........yn} ]  and this will give a graph of the points

{y1,1} ,{y2,2}, {y3,3},....{yn,n}, i.e. it will use the integers
1,2,3,...n as the x values.

One can, however, write

ListPlot[ { {x1,y1}, {x2,y2}, {x3,y3}, ... {xn,yn} }]

and get a graph with user-specified values for x and y. 

There doesn't seem to be an analogous thing for ListPlot3D. The values
of x and y seem to be always {1,1}, {1,2},{2,1},{2,2},.......{n,n}

Any ideas? Thanks in advance. Otto Linsuain.

  • Prev by Date: Re: Names[] for definitions in the current window/notebook?
  • Next by Date: 2001 Mathematica Developer Conference
  • Previous by thread: Re: How to make 2D axis with arrows?
  • Next by thread: Re: ListPlot vs ListPlot3D