Re: Triangulation invalid [message #32227] |
Wed, 25 September 2002 06:59 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Daniel Luebbert (Daniel.Luebbert@desy.de) writes:
> I am trying to do a "contour" plot with the "triangulation=" keyword set
> to some [3,N]-array.
> Now, whatever I do, I always get the error message
> % Internal error: Triangulation is invalid.
> This is pretty independent of whether I construct my triangles "by hand"
> or via the "triangulate,..." procedure.
>
> Any ideas on what this means, how I can get more explicit error
> messages, or a workaround?
Try scaling your data (multiply it by 100 or something). I think
this error most often appears when triangle vertices are coincidental
(probably because of round-off error).
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|