I don't recommend you use Scale before Unmark.  You want to keep the
positions values unchanged.  Apply Scale before Image.  Then it will be
applied at render time and if you turn on AutoAxes, it will labelled
according to the actual positions as opposed to Scale'd values.


Brent Wood <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 03/30/2003 05:11:43
PM

Please respond to [email protected]

Sent by:    [EMAIL PROTECTED]


To:    DX UserGroup <[email protected]>
cc:
Subject:    Re: [opendx-users] Data values from Select tool





On 27 Mar 2003, Juw Won Park wrote:

> Hi all.
>
> I imported the scattered array with 7 variables.
> After import, I used Select tool to select 3 columns to set the position
> of each axis.
> Now I want to use Make3DField to visualize them. However, when I execute
> the program, it says 'Make3DField:Construct: invalid data: origin must
> be a vector or vector list'.
>
> How or what DX Tool should I use to connect Select tool to Make3DField?
>
> My visual program looks like this:

try using mark/compute/unmark instead

            import
   (or import_spreadsheet)
              |
    --------------------
    |         |         |
  mark       mark      mark
 (x col)    (y col)   (z col)
    |         |         |
    --------  |  --------
           |  |  |
           compute
           [a,b,c]
              |
   (optional scale module)
              |
           unmark
         (positions)


This flags the x, y & z columns to feed the compute module with 3 active
values. The compute module then returns these three columns as a 3-value
vector. As I use lat/long/metres as my xyz, I add a scale module to make
the 3 axes appropriate scales. The unmark creates a new virtual column
called positions, which contains the 3D position for each row for
displaying.


I think this approach  will do what you need.


Cheers

  Brent Wood


Reply via email to