You don't need to convert it to a field (unless you want to for other
reasons). The general array importer imports it as a group, and
each member of the group has the name of the column. So you can
just take the group, and pass it to Select, giving it the name of the
desired column. Then you get a field, with the desired column as
"data".

I assume you've specified to the general array importer that the positions
are in the file so that you've got your desired 3D x,y,z positions?

_________________________________
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]


Peter Connolly <[EMAIL PROTECTED]>@opendx.watson.ibm.com
on 06/17/2001 05:10:09 PM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   [email protected]
cc:
Subject:  [opendx-users] Selecting part(s) of a dataset based on a string
      value



Dear all

I have a 3D "spreadsheet" style file (imported via the *.general filter) in
which one column contains a string identifier:

i.e.:
X ,  Y,  Z,  data1, data2, data3, ID
1    1    1     25      26       27       set1
6    30  7     27      24      29       set2
1    2    7     26      25      28       set1
4    20  3     26      25      28       set2
2    3    1     27      24      29       set1
3    4    9     28      23      30       set3
2    10  2     25      26      27       set2
8    40  5     28      23      30       set3
etc...

What I need to do is select part of the data based on the identifier. Is
there an easy way of doing this that I have missed in the egs,
documentation and archives? I have tried all the combinations/settings for
categorise and lookup (after converting the group to a field) I can think
of in order to extract the data but have yet to get it right. I think this
must be a pretty normal task so I am assuming there is something I have
over looked.

Thanks for the help

Peter



Reply via email to