I didn't get the last from the first; the last is a different grid
altogether, with different vertices and cells.  The original
positions-dependent grid has origin at (0,0), deltas at (1,1) and counts of
(4,4), with 16 data values.  Since the number of data values is the same as
the number of positions, Construct makes it positions-dependent.  So that
grid has 9 cells based on the 16 input data values.  The final grid has
origin at (-0.5, -0.5), deltas of (1,1) and counts of (5,5) - eg, 16 cells
that are centered at the 16 data points.

Greg


Eelco Van Vliet <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
03/01/2002 11:04:07 AM

Please respond to [email protected]

Sent by:    [EMAIL PROTECTED]


To:    <[email protected]>
cc:
Subject:    Re: [opendx-users] Colormap




This indeed is exactly what I want. I only don't understand how you did it.
The
network that Chris included in his message gives a syntax error on line one
when
I try to load it into DX (yes, I removed the email header and footer), so
I can't under what he did.

Maybe you could lead me through the steps to take  to get the last image
from the first.


On Fri, 1 Mar 2002, Gregory D Abram wrote:

>
> You know, I bet you really want a different grid from the one you have.
> Consider this positions-dependent
> grid:
>
> (Embedded image moved to file: pic09171.pcx)
>
> If you Post it, you get this:
>
> (Embedded image moved to file: pic26268.pcx)
>
> But maybe you really wanted this:
>
> (Embedded image moved to file: pic28261.pcx)
>
> That is, cells centered at the data points, rather than with vertices at
> the data points.
>
> Greg
>
>
>
> Eelco Van Vliet <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
> 03/01/2002 04:02:47 AM
>
> Please respond to [email protected]
>
> Sent by:    [EMAIL PROTECTED]
>
>
> To:    <[email protected]>
> cc:
> Subject:    Re: [opendx-users] Colormap
>
>
>
>
> Okay, this is indeed what I was looking for. But still, for completeness,
> how can I take the corner values of the vertices instead of the average.
> This is what I prefer, since then you can see the real values as they
> appear in you data set, without any modification.
>
> Thanks for the tip anyway.
> Eelco
>
>
> On Thu, 28 Feb 2002, Gregory D Abram wrote:
>
> >
> > In OpenDX, data components can either be dependent on (that is, in a
1-1
> > relationship with) either the vertices, in the "positions" component,
or
> on
> > the grid cells, in the "connections" component.  Positions dependency
> > implies that the values are to be interpolated across the cells;
> > connections dependency implies that the value is held constant across
the
> > cell.   One way to transform positions-dependent data to connections
> > dependency is to use Post(..., "connections"), which will average the
> > values at the vertices of each cell to derive a value for the cell.  If
> you
> > want a specific corner, there are ways to get it, but I bet the Post
> result
> > is what you want.
> >
> > Greg
> >
> >
> > Eelco Van Vliet <[EMAIL PROTECTED]>@opendx.watson.ibm.com
on
> > 02/28/2002 12:39:52 PM
> >
> > Please respond to [email protected]
> >
> > Sent by:    [EMAIL PROTECTED]
> >
> >
> > To:    <[email protected]>
> > cc:
> > Subject:    [opendx-users] Colormap
> >
> >
> >
> >
> > Is it possible to 'switch' off the interpolation for positiion
dependent
> > data when coloring the data, and instead take for instance the value
> > of one corner of a grid cell
> >
> > I don't want to use the 'Band' module, since then the positions are
> > alterated.
> >
> > Eelco
> >
> >
> >
> >
> >
>
>
>



Reply via email to