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

Home » Public Forums » archive » about contour tracing method
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
about contour tracing method [message #9822] Mon, 18 August 1997 00:00 Go to next message
dpjang is currently offline  dpjang
Messages: 1
Registered: August 1997
Junior Member
I am willing to make segmentation procedure.

but I met a problem about Contour Tracing method.

If anyone have a solution or procedure, There is a reply !!!
Re: about contour [message #28252 is a reply to message #9822] Tue, 27 November 2001 17:23 Go to previous messageGo to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
tom wrote:
>
> Hi,I will plot a contour for Z=f(X,Y),
> contour,Z,X,Y
> I hope only area in which Z<0 to be filled, how to do that?
>
> thanks,
>
> Tom.


Dear Tom,

I hope David will answer it in more detail.

As I remember right there are many possibilities.

e.g. NLEVELS=0
and LEVELS= a vector of the levels you are interested in

or MIN and MAX of the datarange is useful too.

? contour
for explaination about the keywords

May be later on this morning after I am back I will add some more
details myself.

regards
Reimar


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: about contour [message #28254 is a reply to message #9822] Tue, 27 November 2001 17:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
tom (tom2959@21cn.com) writes:

> Hi,I will plot a contour for Z=f(X,Y),
> contour,Z,X,Y
> I hope only area in which Z<0 to be filled, how to do that?

Try something like this:

LoadCT, 5, NColors=12, Bottom=1
levels = 12
step = (0 - Min(z)) / levels
userLevels = IndGen(levels) * step + Min(z)
Contour, z, x, y, /Fill, C_Colors=Indgen(levels)+1, Levels=userLevels
Contour, z, x, y, /Overplot, Levels=userLevels, /Follow

There are quite a few articles about filled contour
plots on my web page. You really should read them
before you go too much further. :-)

http://www.dfanning.com/documents/tips.html#Graphics2d

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New All-Time Records on IDL Newsgroup
Next Topic: Re: IDL 5.4 on Solaris? Please test

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

Current Time: Wed Oct 08 15:13:21 PDT 2025

Total time taken to generate the page: 0.00479 seconds