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

Home » Public Forums » archive » plots
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: plots [message #52917 is a reply to message #52829] Tue, 06 March 2007 08:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ashraf writes:

> again I must strees that these are noncontiguous but discreet
> coordinates which form a closed polygon, for example let
> x = [0,1,1,0,0,2,2,2]
> y = [0,1,2,2,1,0,1,2]
> These points can be uniquely re-arranged as
> x = [0,1,2,2,2,1,0,0]
> y = [0,1,0,1,2,2,2,1]
> to form a closed non-intersecting outline. My question is how can I re-
> arrange these points effeciently?

Ashraf,

I think if you sit down with a piece of graph paper and
these points in front of you, it will not take you two
minutes to realize that you can easily build *at least*
two or three "unique" arrangements of points that form
closed non-intersecting outlines.

No amount of wishing will make this so. :-)

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
Previous Topic: plots?
Next Topic: What is the difference between 'curvefit', 'lmfit' and 'svdfit' procudure?

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

Current Time: Wed Dec 03 09:17:17 PST 2025

Total time taken to generate the page: 0.00229 seconds