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 
Switch to threaded view of this topic Create a new topic Submit Reply
contour 3d sections [message #8417] Thu, 06 March 1997 00:00 Go to next message
DAMIANO ZILIO is currently offline  DAMIANO ZILIO
Messages: 8
Registered: February 1997
Junior Member
Hi!
Has anyone developped a cw_widget to plot 3d contour sections where you
can change the range (xrange,yrange), the levels and the titles by the
mouse?.

Tanks
--

Damiano Zilio

Joint Research Centre of the Commission of
the European Communities
I-21020 Ispra (VA)
Environment Institute TP 321

my tel: +39-332-78 5382
my fax: +39-332-78 5466
my Email: damiano.zilio@jrc.it
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
-----------------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
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 12:58:12 PDT 2025

Total time taken to generate the page: 0.55571 seconds