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

Home » Public Forums » archive » problem with TRIANGULATION option in CONTOUR
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: problem with TRIANGULATION option in CONTOUR [message #73136 is a reply to message #73053] Mon, 25 October 2010 17:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper writes:

> When I load the data you have posted and generate the triangulation I
> get a different number of triangles than you. You can see this in the
> output of help - note that tri2 has 19160 vertices. Also, you clip the
> maximum Z value when you use TRIGRID but you don't specify it for
> CONTOUR. I don't know if these are important issues, but perhaps you
> are unwittingly comparing apples to oranges?

Yes, now that I look at my code again, I didn't recompute
the triangles, just used the ones provided. When I did
the triangulation independently, I got the same number
of triangles Ben got.

I noticed right away the discrepancy between the two
images provided. And I wonder if the first figure (the
one that used the TV command) and for which the triangles were
presumably provided was actually created with a different data set
than the second figure, which was created with the contour command.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Help! (where is all the Help that used to be in 7?)
Next Topic: Spell checking code

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

Current Time: Fri Oct 10 09:24:11 PDT 2025

Total time taken to generate the page: 1.04077 seconds