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 #92888 is a reply to message #92887] Thu, 17 March 2016 09:33 Go to previous messageGo to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
On Thursday, March 17, 2016 at 10:26:27 AM UTC-6, wlandsman wrote:
> plot.pro should be in the $IDL_DIR/lib/graphics directory.
>
> Make sure that you do have plot.pro in this directory, and then make sure this directory is in your !path
>
> On Thursday, March 17, 2016 at 12:14:40 PM UTC-4, 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.

Appears to be fixed! I had a mystery variable in my .sav file called 'plot' that must have been the result of an earlier typo. DOH!!! Thanks and sorry for the bonehead post.
[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 15:19:35 PDT 2025

Total time taken to generate the page: 0.00422 seconds