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

Home » Public Forums » archive » Plot function failing!
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: Plot function failing! [message #92886 is a reply to message #92885] Thu, 17 March 2016 09:25 Go to previous messageGo to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Thursday, March 17, 2016 at 10:14:40 AM UTC-6, Med Bennett wrote:
> On Thursday, March 17, 2016 at 10:13:24 AM UTC-6, Med Bennett wrote:
>> On Thursday, March 17, 2016 at 9:40:35 AM UTC-6, Jim P wrote:
>>> On Thursday, March 17, 2016 at 9:31:16 AM UTC-6, Med Bennett wrote:
>>>> Another example, straight from the documentation:
>>>>
>>>> IDL> junk = SIN(2.0*FINDGEN(200)*!PI/25.0)*EXP(-0.02*FINDGEN(200))
>>>> IDL> myPlot = plot(junk)
>>>>
>>>> In this case, nothing happens at all - no plot, no plot window, no error message.
>>>
>>> I would guess your !path has been compromised.
>>>
>>> IDL> print, routine_info('plot', /source, /function)
>>> { PLOT C:\Program Files\Exelis\IDL85\lib\graphics\plot.pro}
>>>
>>>
>>> Jim P.
>>
>> I just tried this, no luck:
>>
>> IDL> print,routine_info('plot',/source,/function)
>> % Attempt to call undefined function: 'PLOT'.
>> % Execution halted at: $MAIN$
>>
>> I also just uninstalled and reinstalled IDL 8.5.1, still doing the same thing.
>
> Interestingly, calls to contour() work fine.

Are you making any changes to !path manually, in code? You might want to check your syntax that you're using the correct path separator, for example.

If you're making changes in the Workbench Preferences, make sure they're valid and you haven't deleted the default IDL path.

On your platform, check for the presence of plot.pro. It should be installed. On Windows, by default, it's in C:\Program Files\Exelis\IDL85\lib\graphics\plot.pro, for example.

If the file is present, the implication is !path is mangled.

Try this:

IDL> (!path).split(path_sep(/search))

You should see a list of almost 50 directories that begins with entries like this:
C:\Program Files\Exelis\IDL85\lib\bridges
C:\Program Files\Exelis\IDL85\lib\datatypes
C:\Program Files\Exelis\IDL85\lib\dicomex
C:\Program Files\Exelis\IDL85\lib\e3de
C:\Program Files\Exelis\IDL85\lib\enterprise\ese
C:\Program Files\Exelis\IDL85\lib\graphics
C:\Program Files\Exelis\IDL85\lib\hook
C:\Program Files\Exelis\IDL85\lib\imsl
C:\Program Files\Exelis\IDL85\lib\itools\components
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Filtering based on Hessian Matrix
Next Topic: indexing bug?

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

Current Time: Wed Oct 08 17:30:21 PDT 2025

Total time taken to generate the page: 0.00361 seconds