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

Home » Public Forums » archive » Re: filled contour chart problems
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: filled contour chart problems [message #43110] Tue, 15 March 2005 13:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jill writes:

> Yes, but I was doing it all wrong for a good reason, which I forgot to
> mention. :)

Oh, right. Of course. :-)

> Originally I was using /overplot in the first contour
> command, but when I do that, the contour lines do not show up (but the
> colored filled area does), and the grid lines only cover the land, not
> the sea.

Yes, you will have to do one CONTOUR with CELL_FILL and
OVERPLOT to draw the filled contours. Then another with
just OVERPLOT to draw the contour lines.

> So not thinking /overplot would help, I tried it just now
> again and like magic, it worked...but only for 7 out of 10 of the
> images (different geographic regions). Some of them still have the
> original problem of having partial grid lines and no contour lines.

Could be all kinds of reasons for this. You are allowing
IDL to choose contour intervals, for example. Could be some
clipping problems going on. Hard to say without seeing all
of your code.

> They all now have a slightly smaller colored contoured area than the
> lat/lon box, which I can live with, unless that is part of the problem.

I would say the lat/lon values you pass for CONTOUR do not correspond
to the map limits you are using in MAP_SET if this is the case. You
should see perfect alignment if you do it correctly.

> I am getting the floating underflow error again.

Yes, well, we *all* get underflow warnings (they are seldom
errors). You might have to live with this one, or learn to turn
all warnings off (you have to prove you know what you are doing
before I tell you how to do this :-). I do notice that even
RSI-supplied code turns these errors off occasionally. (Note
to RSI: couldn't we do something to fix this instead?)

> I will check out the link you posted.

Yes, a search for CONTOUR in general on that web page should
turn up a LOT of interesting reading. :-)

Cheers,
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Weird Runtime Problem
Next Topic: cnoidal functions

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

Current Time: Fri Oct 10 17:13:37 PDT 2025

Total time taken to generate the page: 0.16276 seconds