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

Home » Public Forums » archive » Re: xpalette -> error messages
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: xpalette -> error messages [message #18123 is a reply to message #18107] Sat, 27 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dominik Brunner (dbrunner@dbrunner.demon.nl) writes:

> I am using IDL extensively for contour plots on maps.
> Often I would like to change the contour colors using xpalette.
> The problem is now that changing a color or interpolating between colors
> generates hundreds of error meassages stating that some points are
> out of lat/lon range. Why is this and how can I turn this off?

Whatever this is, it is NOT because you are changing
colors. :-)

Rather, I suspect some kind of programming error. How
exactly are you trying to use XPalette to change colors
in your contour plot? Is this in a widget program? Do
you leave XPalette on the display, while you try
to change colors? I suspect this is probably the
case.

I'm going to guess, in the absence of any evidence,
that you are overplotting something onto your map
display while XPalette is still on the display.
What I think is happening is that you are using the
axes ranges determined by the graphic displays in
XPalette rather than the axes ranges determined by
your map projection. If this is the case, simply
save the axes ranges and restore them before you
try to overplot. Typically with this kind of
application you save !X, !Y, !P, and !Map. You
probably don't need them *all*, but in this case
overkill usually solves more problems than it
creates. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Previous Topic: help! help! color table and mac
Next Topic: 3D hardware acceleration and Linux

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

Current Time: Sun Nov 30 12:21:59 PST 2025

Total time taken to generate the page: 1.03897 seconds