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

Home » Public Forums » archive » contour 3d sections
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: Contour [message #8451 is a reply to message #8417] Mon, 17 March 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
NOYON Mario <noyon@info.enserb.u-bordeaux.fr> writes:

> Is there a way to make a contour manualy with the mouse with IDL.
> Does someone thinks that is possible or perhaps one of you has done it
> before.

I'n not sure I know exactly what you have in mind, but you can use
the DEFROI function to manually draw a contour on an image. The
code might look like this:

TV, image
s = SIZE(image)
junk = DEFROI(s(1), s(2), xvert, yvert, /NoRegion, /NoFill, /Restore)

Your "contour" will be described by the x and y points in the xvert and yvert
variables.

Cheers!

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
[Message index]
 
Read Message
Read Message
Previous Topic: ERROR: Unsupported X Windows visual
Next Topic: Sharing Variables within a Widget

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

Current Time: Sat Oct 11 09:19:11 PDT 2025

Total time taken to generate the page: 0.63962 seconds