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 #77106 is a reply to message #77009] Wed, 27 July 2011 11:33 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jul 27, 2:32 pm, Michael Galloy <mgal...@gmail.com> wrote:
> 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.

Or, if that was David's colorbar.pro that was intended, use
fsc_colorbar instead, which is just a new name, to avoid that problem.
[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:42:52 PDT 2025

Total time taken to generate the page: 0.00385 seconds