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

Home » Public Forums » archive » Re: New Colorbar Missing?
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: New Colorbar Missing? [message #72688 is a reply to message #72685] Mon, 27 September 2010 11:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I start a new IDL session and type this:
>
> IDL> graphic = colorbar(rgb_table=5)
> % Compiled module: COLORBAR.
> % Attempt to call undefined procedure/function: 'COLORBAR'.
> % Execution halted at: $MAIN$
> IDL> Print, !version
> { x86_64 Win32 Windows Microsoft Windows 8.0 Jun 17 2010 64 64}
>
> Any ideas!? This is a complete mystery to me. :-(

Thanks to Paulo and others for pointing out the naming
conflicts IDL 8 introduced. Two Coyote Library routines,
in particular, were causing problems for me: COLORBAR,
a direct graphics color bar program and (I suspect)
widely used since it was written in 1996; and
COLORBAR__DEFINE, the object equivalent of COLORBAR
and probably not used much.

I have renamed these two routines in the Coyote Library
to FSC_COLORBAR and FSC_COLORBAR__DEFINE, respectively.
I have retained the original COLORBAR routine in a new
"obsolete" sub-directory of the Coyote directory for
people who want to use it. (Perhaps you haven't updated
to IDL 8 yet.)

I have also written an article that explains the name
conflicts with the Coyote and NASA Astronomy libraries
in detail and suggests several possible solutions to the
problem. (None completely satisfactory, by the way.)

http://www.dfanning.com/ng_tips/idl8_name_conflicts.html

I have gone through my web page with a fine-toothed comb and
changed all the references to COLORBAR to FSC_COLORBAR. I have
done the same thing with the Coyote and Catalyst Libraries.
In all some dozen or so programs were changed.

In light of this, it might be a good time to upgrade your
own libraries. You can either do this via zip files:

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

(Be sure to delete colorbar.pro and colorbar__define.pro from
your old library folders if you update on top of an existing
directory. I recommend you start with fresh, empty folders.)

Or from the new idl-coyote open source project:

http://idl-coyote.googlecode.com

No doubt we haven't heard the end of this, but maybe in
a couple of years it will have sorted itself out and we
can all laugh about it. :-)

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: mpfit questions /strange behavior
Next Topic: IDL_IDLBridge and IDL8

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

Current Time: Sun Oct 12 09:50:43 PDT 2025

Total time taken to generate the page: 2.08019 seconds