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

Home » Public Forums » archive » Re: To found the size(area) of a certain domain.
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: To found the size(area) of a certain domain. [message #11988] Sat, 20 June 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pao-hung LIN (plin21@midway.uchicago.edu) writes:

> I try to write up a paper about some domain on some surface.
> My boss want to know what is the SIZE distrubiton of those domains.
>
> I can use some scaling to turn the domain and background to some
> Black and White.
> I can use CONTOUR to draw the contour.
> The question here will be how to transferr the X,Y subscripts of
> these contour into POLYFILLV.
> Then the POLYFILLV will tell me how many point each domain contain.
>
> OR I can use the DEFROI to calculate the area size ONE BY ONE.

Forget DEFROI, you don't want to do this by hand. (And then you
won't have to buy that 3-button mouse, either.)

You will need to use the PATH_INFO and PATH_XY keywords to the
Contour command to get the XY subscripts of the contour so you
can get these into PolyFillV. You might have to smooth your
surface, etc. ahead of time so you don't get little "dots" of
islands sticking up everywhere.

I recommend writing this as a widget program so you can interactively
change your parameters and immediately see the results of your
manipulations. This will give you more confidence that what you
are doing actually works. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: running IDL on SGI Octane or O2?
Next Topic: Re: OK, I'm stumped

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

Current Time: Sun Oct 12 13:28:03 PDT 2025

Total time taken to generate the page: 2.16312 seconds