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

Home » Public Forums » archive » plot
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: plot [message #68503 is a reply to message #7831] Fri, 30 October 2009 08:01 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bing999 writes:

> Yes, thank you, thats it.
> Nevertheless, it is not accurate enough for what i want... The lines
> it draws connect "extreme" points and then do not pass by all
> "important" points.
> Clearly, the problem is as follows:
>
> T
> a
> aa
> aaa
> Zaaaaa
> Paaaaaaaaaaaaaaaaaaaaaaaaaaaaa
>
> with convex_hull.pro, a line connects directly the data points T to P
> whereas i would like to connect T to Z and then Z to P.
>
> Can it be done by modifying convex_hull.pro?

No, you will probably have to write the ImportantPointLocater
code yourself. Then just connect them with PLOTS. :-)

Although, after my shower, it occurs to me that what
you want *may* be an active contour in which you start
from the convex hull and "shrink" the contour based on
the weights of the points inside the convex hull.

http://www.dfanning.com/ip_tips/snakes.html

That would be quite a bit harder to write than an connect-the-dots
one-off for doing this interactively.

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot
Next Topic: call_external

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

Current Time: Wed Oct 08 19:31:09 PDT 2025

Total time taken to generate the page: 0.00507 seconds