comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Repeats and Triangulation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Repeats and Triangulation [message #23957 is a reply to message #23905] Tue, 27 February 2001 16:31 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
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
[Message index]
 
Read Message
Read Message
Previous Topic: Change default value of system variable?
Next Topic: IDLgrLegend geometry

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:48:40 PDT 2025

Total time taken to generate the page: 0.00410 seconds