Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

How to convert asci data into Graphics3D[Cuboid] plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17940] How to convert asci data into Graphics3D[Cuboid] plots
  • From: "Luis Miguel Nunes" <lmnunes at esoterica.pt>
  • Date: Sat, 5 Jun 1999 02:56:08 -0400
  • Organization: ****
  • Sender: owner-wri-mathgroup at wolfram.com

Hi, everyone,


My question is probably trivial, but I'm having difficulty in importing
ascii data (x, y, z) from outputs of fortran programs. When trying to
project 3D data (1 column for each of the coordinates) the answer is that an
"unknown primitive" was met. I don't know if the problem is numeric or in
the importing procedure.

My data is in the following way:

x1  y1  z1
x2  y1  z1
..
xn  y1  z1
x1  y2  z1
x2  y2  z1
..
xn  y2  z1
..
xn  ym  z1
x1  y1  z2
..
xn  ym  zp

In Integer format

I´ve tried several matrix and vector combinations but all gave error
messages. The one that seemed less prone to them was a setence in the
following form:
Show[Graphics3D[ReadList["nameofthefile",Table[Number,{3}]]]]
The outcome was the error message I mentioned above.

If anyone knows how to sove this please do answer.

Luis






  • Prev by Date: reynolds and dimensionless
  • Next by Date: Re: MS C++ and Mathematica 3.0
  • Previous by thread: reynolds and dimensionless
  • Next by thread: Re: MS C++ and Mathematica 3.0