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

Home » Public Forums » archive » Co-Linear Contour Points
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: Co-Linear Contour Points [message #36463 is a reply to message #36370] Wed, 17 September 2003 06:54 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nate Doyle writes:

> I'm trying to plot a contour and am getting an error that tells me my
> points are co-linear. I'm not exactly sure what's going on so I
> figured I'd appeal to you people.

I see you are not being flooded with answers. :-)

That's probably because the universe of "what's going on"
for this particular question is quite a bit larger than
it is for most typical answers in this newsgroup.

Basically, your data is co-linear, but you already
knew that. :-)

The question is: why? And that is hard to answer.
Maybe your data really is in a straight line. Have
you looked at it in some other way? Maybe you have
two points that are identical. Have you checked for
that?

The CONTOUR command requires gridded data. Your
data is being gridded by TRIANGULATE and TRIGRID.
Sometimes this kind of error message is created
when the /SPHERICAL keyword is used on TRIGRID.
(I don't know why.) I wonder if this keyword gets
set when you are overplotting on a map projection.
(I don't know how to test this.)

In any case, I would try gridding the data myself.
First with the TRIANGULATE/TRIGRID method, and then,
if necessary, with GRIDDATA.

Another way to (sometimes) shake this problem loose
is to add a tiny bit of random location data to your
coordinates.

I don't know if one or any of these suggestions
might help. But maybe you will get a couple of ideas.

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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: exporting table data to a CSV file
Next Topic: Dataminer: faster way to get all records in a IDLdbRecordset table?

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

Current Time: Tue Oct 21 10:48:15 PDT 2025

Total time taken to generate the page: 0.03475 seconds