[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TRIANGULATE says "Points are co-linear, no solution"
Jonathan Joseph (jj@scorpio.tn.cornell.edu) writes:
> Anyway, I *AM* running idl 5.2 (well, 5,2,1), so presumably,
> I should not have this problem. I have created an IDL save file
> now at the same place ftp://scorpio.tn.cornell.edu/jj/idl/
> The file is called test.sav
>
> The following code should work:
> And by that, I mean (not work).
> At least, it causes the error listed below on my
> system (IDL 5.2.1 running on HP-UX 10.20)
>
> ;; restore the data
> IDL> restore,'test.sav'
> ;; create a window
> IDL> window
> ;; plot the data to see that it looks reasonable
> IDL> plot,x,y,psym=3
> ;; try to triangulate the points
> IDL> triangulate,x,y,tr,b
> % TRIANGULATE: Points are co-linear, no solution.
Ah, so much better. :-)
For what it is worth, the TRIANGULATE command works
perfectly on my Windows NT machine running IDL 5.2.1.
Could this be an HP thing?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155