Re: New Colorbar Missing? [message #72713 is a reply to message #72688] |
Mon, 04 October 2010 09:00  |
vasily
Messages: 2 Registered: March 2010
|
Junior Member |
|
|
On Sep 27, 7:35 pm, David Fanning <n...@dfanning.com> wrote:
> 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 ofCOLORBAR
> 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 originalCOLORBARroutine 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 toCOLORBARto 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 deletecolorbar.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.")
Dear David,
Thanks for the update, but it seems that you have removed HIST_ND from
the current version of the library. Is there a reason for that?
Thanks,
Vasily
|
|
|