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

Home » Public Forums » archive » New Colorbar Missing?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
New Colorbar Missing? [message #72708] Sat, 25 September 2010 07:04 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

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. :-(

I have a COLORBAR *procedure* in the Coyote Library, and
that is on the path ahead of the <DEFAULT> IDL libraries,
but IDL has always been able to tell the difference between
a procedure and a function.

Clearly that procedure got compiled:

IDL> Help, /source
Compiled Procedures:
$MAIN$
COLORBAR C:\IDL\coyote\colorbar.pro

Compiled Functions:
FSC_COLOR C:\IDL\coyote\fsc_color.pro
FSC_COLOR_COLOR24 C:\IDL\coyote\fsc_color.pro
FSC_COLOR_COUNT_ROWS C:\IDL\coyote\fsc_color.pro

Why is IDL getting confused here? Am I going to have
to rename most of the routines in my Coyote Library?

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.")
Re: New Colorbar Missing? [message #72710 is a reply to message #72708] Mon, 04 October 2010 09:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I probably need to update some links to point to this
> page. :-)

I've updated all my links to hist_nd.pro and sort_nd.pro
to point to these programs on JD's web page. I'm still
keeping references to them on my Coyote Library program
listing page, because they are so darn useful and popular,
and because JD gave me permission to do so.

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.")
Re: New Colorbar Missing? [message #72711 is a reply to message #72708] Mon, 04 October 2010 09:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vasily writes:

> 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?

HIST_ND is not my program (although God knows I use it a lot!).
I didn't honestly realize it was in the Coyote Library until
I was starting to clean things up just recently. I probably
put it there so I would always have it accessible.

But this is a program written by JD Smith. It is available
on his web page. I think you should get it from there, that
way you always have the latest version.

http://tir.astro.utoledo.edu/idl/hist_nd.pro

I probably need to update some links to point to this
page. :-)

Cheers,

David

P.S. If JD wants to put this program (or any others)
in the idl-coyote repository, I'm happy to create
a directory for him and give him commit access. :-)

--
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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL_IDLBridge and IDL8
Next Topic: Re: Mind Boggling Problem with Map_Proj_Init

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

Current Time: Wed Oct 08 13:55:05 PDT 2025

Total time taken to generate the page: 0.00549 seconds