MathGroup Archive 1996

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

Search the Archive

3d graph

  • Subject: [mg3054] 3d graph
  • From: snichols at onramp.net (Stephen Nichols)
  • Date: 28 Jan 1996 10:52:12 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA
  • Sender: daemon at wri.com


Hey,

I have what may be a very simple question but I have just
started using Mathematica and can not figure it out.  I have
a text file with lines of x y z values seperated by tabs, ie

223.3	233.5	2894.0

How do I get a 3d graph of the points?  I would appreciate any help
or a location in the Stephen Wolfram book that explains this.  I have tried
various functions ListPlot3D, Graphics3D but they either don't
work or give me a surface that I know does not match the data.  I
can read the data from the file correctly.  At least I think I have it
in a proper format.  I use

pointlist=ReadList["weights.txt",{Number,Number,Number}];

Which give me a list that looks like this

{{-20., -20., 68272.796875}, {-19., -20., 67817.}, 
 
 {-18., -20., 67363.203125}, {-17., -20., 66911.398438}, 
 
 {-16., -20., 66461.601563}, {-15., -20., 66013.796875}, 
 
thanks,
Stephen Nichols


  • Prev by Date: Re: PowerBook Woes
  • Next by Date: Two questions regarding command line interface
  • Previous by thread: 3d graph
  • Next by thread: Re: 3d graph