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

Home » Public Forums » archive » problem with TRIANGULATION option in CONTOUR
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: problem with TRIANGULATION option in CONTOUR [message #73147 is a reply to message #73053] Mon, 25 October 2010 15:17 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ardhuin writes:

> Well, this is exactly what I do not want to do: I want to use my
> triangulation because it contains the information on the grid
> connectivity (islands are "holes" in the grid where the contouring
> should not do any filling).
>
> I have put the basic dataset at this ftp address:
> ftp://ftp.ifremer.fr/ifremer/cersat/products/gridded/wavewat ch3/TOOLS/IDL/BUG/
> with some illustrative plots. The standard contour fills everything,
> including land. If I do a TRIGRID before a TV then I get want I want:
> land and Islands are blank... but I'd like to do this with contour to
> use the native data resolution...

It seemed to me you wanted to put a contour plot on top
of an image, so that's what I've shown you how to do.
You will need Coyote Library programs to run the code.

http://www.dfanning.com/programs/coyoteprograms.zip

You can find the program I wrote, and a PNG file of what
the output looks like here:

http://www.dfanning.com/misc/contour_on_image.zip

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
Previous Topic: Re: Help! (where is all the Help that used to be in 7?)
Next Topic: Spell checking code

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

Current Time: Fri Oct 10 06:31:49 PDT 2025

Total time taken to generate the page: 0.32529 seconds