[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*Subject*: Re: Repeats and Triangulation*From*: Ben Tupper <pemaquidriver(at)tidewater.net>*Date*: Tue, 27 Feb 2001 19:31:02 -0500*Newsgroups*: comp.lang.idl-pvwave*Organization*: http://extra.newsguy.com*References*: <3A9AA9FF.E4969B62@tidewater.net> <on8zmtm5zq.fsf@cow.physics.wisc.edu> <3A9AEB32.F6462824@tidewater.net> <onwvackqe9.fsf@cow.physics.wisc.edu>*Xref*: news.doit.wisc.edu comp.lang.idl-pvwave:23738

Hi, I have tinkered with TRIGRID operating on XYZ data sets where there are a few repeated values of x and y with differing z values. It looks like TRIGRID ignores repeated values... taking the value of the first z value only. Ben Craig Markwardt wrote: > Ben Tupper <pemaquidriver@tidewater.net> writes: > > > Thanks Craig, > > > > I think I'll pursue you final suggestion. The tricky part there is that it is > > possible to have indices repeated not only within column 1 but also apprearing > > in column 2. > > > > Ben > > Yeah, but I think I handled that case. For example if REP contains > the following entries: > > [2, 3] > [3, 4] > > Then it is clear that entries 2, 3, and 4 are all identical poins. We > want to keep one point at least. Thus, I used the DELMASK to delete > the points indexed by the second column, REP(1,*). Deleting 3 and 4 > leaves only 2. > > By the way, I wanted to emphasize that the snippet of code I posted > worked exactly as you wanted. You don't need to go beyond that if you > don't want. > > Craig > > -- > -------------------------------------------------------------------------- > Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu > Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response > -------------------------------------------------------------------------- -- Ben Tupper 248 Lower Round Pond Road POB 106 Bristol, ME 04539 Tel: (207) 563-1048 Email: PemaquidRiver@tidewater.net

**References**:**Repeats and Triangulation***From:*Ben Tupper

**Re: Repeats and Triangulation***From:*Craig Markwardt

**Re: Repeats and Triangulation***From:*Ben Tupper

**Re: Repeats and Triangulation***From:*Craig Markwardt

- Prev by Date:
**Re: Change default value of system variable?** - Next by Date:
**Re: string manipulation** - Prev by thread:
**Re: Repeats and Triangulation** - Next by thread:
**IDLWAVE 4.8** - Index(es):