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

Home » Public Forums » archive » v8.1 Workbench Path problem?
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: v8.1 Workbench Path problem? [message #77108 is a reply to message #77009] Wed, 27 July 2011 10:32 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 7/27/11 11:09 AM, Barry Lesht wrote:
> I have a simple code that includes the following line:
>
> COLORBAR, Position=[0.85, 0.50, 0.87, 0.95], $
> Range=[0.0, cmax], NColors=nLevels, /Vertical, $
> Format = '(f3.1)', CharSize = char_size, /Right,
> Title=variable
>
> When I run the code in the development environment I get the following
> error:
>
> % Compiled module: COLORBAR.
> % Attempt to call undefined procedure/function: 'COLORBAR'.
> % Execution halted at: GLSEA2_TEST 443 /glsea2_test.pro
> % $MAIN$
>
> IDL> print, file_which('colorbar.pro')
> /Applications/itt/idl/idl81/lib/graphics/colorbar.pro
>
> I've tried fiddling with the path using the preferences menu.
> Currently it is set to the default.
>
> I'm not sure what is happening. Can someone point me in the right
> direction please? Thanks.
>

IDL is finding the new graphics COLORBAR function (in the default path),
but you actually want to call a third-party COLORBAR procedure. To fix,
add the path to the third-party COLORBAR procedure to your IDL_PATH
*before* the <IDL_DEFAULT> path in your preferences.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PARTVELVEC procedure not overplotting despite setting over keyword, Trouble with OPLOT
Next Topic: PARTVELVEC procedure not overplotti​ng despite setting OVER keyword;Trouble with OPLOT

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

Current Time: Wed Oct 08 17:18:01 PDT 2025

Total time taken to generate the page: 0.00638 seconds