Many thanks to Donna and others who answered my questions.  I'm coming to
grips with this thing (slowly).

Gib

> -----Original Message-----
> From: Donna L Gresh [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 28 July 2001 00:18
> To: [email protected]
> Subject: Re: [opendx-users] Simple data/import questions
> 
> 
> 
> You're on the right track, so let me try to explain. No your field
> does not have to have a component called "data" , but many
> modules look for that and operate on it, so there are mechanisms
> to enable you to manage this.
> 
> I assume you mean 'variable' as the input param to Import? in this
> case it's probably being ignored, since that input is meant for when
> you have a group of fields, each with a name. Then you can indicate
> which field of the group to import.
> 
> You can go ahead and call your variables their correct names (and
> start off with nothing called "data"). Then use the Mark module to
> rename one of your variables to "data" for coloring for example.
> Unmark undoes what you did.  Of course you could also just use
> Rename to rename a variable to "data" but Mark is convenient in
> automatically creating a "temp" component to hold the current data
> (if there is one) so that Unmark can undo it later.
> 
> Thus
> Import->Mark(field, "depth")->AutoColor ->Image
> or
> Import->Mark(field,"depth2")->AutoColor->Image
> 
> 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]
> 
> 
> Gib Bogle <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 
> 07/26/2001 10:17:19
> PM
> 
> Please respond to [email protected]
> 
> Sent by:  [EMAIL PROTECTED]
> 
> 
> To:   "'[email protected]'"
>       <[email protected]>
> cc:
> Subject:  [opendx-users] Simple data/import questions
> 
> 
> 
> These are embarrassingly simple questions.  I have created a .dx file
> defining a field thus:
> 
> object "depthdata" class field
>   component "positions"    "position list"
>   component "connections"  "tri connection list"
>   component "data"         "depth list"
>   component "depth2"       "depth2 list"
> end
> 
> According to the User's Guide, "A Field can have only one component
> actually
> named "data", but you may assign names of your choosing to additional
> components representing other data sets that are also mapped 
> to the same
> grid."
> 
> My first question is, do I need to use the name "data" for one of the
> components?
> 
> Now I have created a simple net that Imports the file 
> containing the field
> "depthdata", colors it with AutoColor, then displays it with 
> Image.  If I
> don't specify a value for the input "variable", then I see 
> "data".  The
> same
> thing if I set "variable" = "depthdata".  This suggests to me that
> "variable" in this case means the name of the field.  Am I correct?
> 
> As you might have guessed, I am trying to find out how to 
> look at the other
> data component, "depth2".  How do I tell Import which data 
> component to
> select?
> 
> Thanks
> Gib
> 
> (please excuse my employer's sig notice - I can't suppress it.)
> 
> NOTICE - This e-mail is only intended to be read by the named 
> recipient.
> It
> may contain information which is confidential, proprietary or 
> the subject
> of
> legal privilege. If you are not the intended recipient please 
> notify the
> sender immediately and delete this e-mail. You may not use 
> any information
> contained in it.  Legal privilege is not waived because you 
> have read this
> e-mail.
> 
> For further information on the Beca Group of Companies, visit 
> our web page
> http://www.beca.co.nz
> 
> 
> 

NOTICE - This e-mail is only intended to be read by the named recipient.  It
may contain information which is confidential, proprietary or the subject of
legal privilege. If you are not the intended recipient please notify the
sender immediately and delete this e-mail. You may not use any information
contained in it.  Legal privilege is not waived because you have read this
e-mail.

For further information on the Beca Group of Companies, visit our web page
http://www.beca.co.nz

Reply via email to