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


Attachment: pic09171.pcx
Description: Binary data

Attachment: pic26268.pcx
Description: Binary data

Attachment: pic28261.pcx
Description: Binary data

Reply via email to