MathGroup Archive 2001

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

Search the Archive

Re: ListPlot vs ListPlot3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28893] Re: [mg28884] ListPlot vs ListPlot3D
  • From: maarten.vanderburgt at icos.be
  • Date: Fri, 18 May 2001 01:12:59 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Otto,

Load the package Graphics3D by
<<Graphics`Graphics3D` and use ScatterPlot3D. You will find more info in
the on line help.

Maarten van der Burgt
Leuven, Belgium






Otto Linsuain <linsuain/@andrew.cmu.edu> on 17-05-2001 10:22:55 AM

cc:

Subject: [mg28893]  [mg28884] ListPlot vs ListPlot3D



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
VALUES OF X AND Y.

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: Has anybody gotten MathLink Modules to compile using Linux Mandrake 8.0
  • Next by Date: Re: Q: Recursion on a list
  • Previous by thread: Re: ListPlot vs ListPlot3D
  • Next by thread: Re: ListPlot vs ListPlot3D