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

Home » Public Forums » archive » Re: Filled Contour Colors on Maps Incorrect
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 Colors on Maps Incorrect [message #26811 is a reply to message #26809] Wed, 26 September 2001 05:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Martin Downing (martin.downing@ntlworld.com) writes:

> The CONTOUR bug can be illustrated very well in your code by just switching
> off /FILL in the first contour call, or trying this to illustrate it:
>
>
> Map_Set, 0, 180, /CYLINDRICAL, LIMIT=limit, $
> Position=[0.1,0.15,0.9,0.9], $
> Color=white, charsize=2
> ; edited first call with FILL unset
> Contour, data, lons, lats, $
> C_Colors=cn, Color=WHITE, $black, $
> Max_Value=cmax, Min_Value=cmin, $
> Levels=clevels, /OVERPLOT
> wait , 5 ; Time to see that the unfilled contours make sense
> ; now do the original call:
> Contour, data, lons, lats, $
> C_Colors=cn, Color=WHITE, $black, $
> Max_Value=cmax, Min_Value=cmin, $
> Levels=clevels, /FILL, /OVERPLOT
> ; Oh dear - the filled contours have has no relation to the unfilled
> contours

No, alas. If I try to overplot filled contours
onto a previously constructed contour plot, the colors
are correct ONLY if that contour plot is not associated
with a map projection.

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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: disappearing text - online help widget
Next Topic: OBJECT GRAHPIC BOOKS

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

Current Time: Wed Oct 08 15:27:33 PDT 2025

Total time taken to generate the page: 0.00238 seconds