Off the top of my head, I think you only need to NOT Unmark (which
tries to make 'positions' the scalar a.x which is illegal). This is the
inelegant solution, but the elegant one takes too long to explain
unless it turns out to be necessary, i.e., if your net is more complex
than you've indicated.
Alternatively, just use ClipBox to 'hide' the stuff you don't want to
see. In this case, you are hiding a spatial domain, so ClipBox is
convenient. Your technique below is generally useful for
including/excluding any data.
On Wednesday, Mar 24, 2004, at 10:10 America/New_York, Emmanuelle
Lafont wrote:
Hi,
I would like to display only a part of my topography (for example,
giving
(xmin, ymin) and (xmax, ymax), it displays only the data contained in
this
domain).
My data are on a regular grid. There is a 2D vector for the positions,
and
a scalar for the altitude.
I tried :
Mark(positions)->Compute(a.x)->Include(xmin, xmax)->UnMark
but it doesn't work.
When I use the Describe module, it seems that the number of data has
correctly been reduce, but it is said that the input object has bad
positions. I suppose I lose data.
Could anybody help me please?