The problem is that you need to define which variables are spatial
coordinates and which are data. DX doesn't know whether you've go 1D data
with 3 data variables, or 2D data with 2 data variables, or what you really
have, which is 3D data with 1 variable.
You are on the right track with constructing the positions after import.
You didn't say what didn't work, but this is the idea.
ImportSpreadsheet->Extract (3 different ones, to extract the x, y, and z)
-> Compute([a,b,c]) (to create a 3-vector for your
positions)
also
ImportSpreadsheet->Extract (to extract your B's)
Then the results of the first two lines above go into the first and fourth
inputs of Construct to make a field with your
x,y, and z's as positions, and your B's as data. Then you can proceed.
Donna L. Gresh, Ph.D.
Visual Analysis Group
IBM T.J. Watson Research Center
(914) 784-5049
http://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]
[EMAIL PROTECTED]@opendx.watson.ibm.com on 12/17/2001 04:35:41 AM
Please respond to [email protected]
Sent by: [EMAIL PROTECTED]
To: [email protected]
cc:
Subject: [opendx-users] ImportSpreadsheet
I'm a newbie to Opendx and trying to import data with the
ImportSpreadsheet module.
No luck so far. My data consists of X, Y, Z and B where B is the magnetic
field strength at
coordinates X,Y,Z.
It works when I make a *.general file and use Import.
But I really need ImportSpreadsheet and tab delimited data.
I use ImportSpreadsheet->AutoGlyph->Image.
Instead of seeing a 3D image I only get the X-data.
I tried different options in the ImportSpreadsheet module but nothing
works.
I also tried to select the different columns and construct a new field
but that didn't
work either.
Does anyone has a simple example how to display this kind of data ?
Thanks,
Larry de Graaf