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

Home » Public Forums » archive » Contour Plot Error
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
Contour Plot Error [message #91179] Thu, 11 June 2015 16:26 Go to next message
joseph.george is currently offline  joseph.george
Messages: 2
Registered: June 2015
Junior Member
Hello,

I am currently using IDL 8.3 for a summer research project at my university. I am trying to use the "contour" plotting function, which has worked before in the past perfectly. Recently, however, whenever I attempt to create a contour plot using the correct syntax that has worked before, IDL gives me the following error:

% CONTOUR: Error opening file. File: C:\Program Files\IDL\IDL82\resource\fonts\hersh1.chr
The system cannot find the path specified.
% Execution halted at: $MAIN$

I am not quite sure what to make of this, as I do not even have an IDL82 folder in my computer and opening a file has nothing to do with the contour plot I am trying to create. Any suggestions or advice you can offer?

Thanks a lot!
Re: Contour Plot Error [message #91180 is a reply to message #91179] Thu, 11 June 2015 16:27 Go to previous messageGo to next message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Thursday, June 11, 2015 at 5:26:43 PM UTC-6, joseph...@richmond.edu wrote:
> Hello,
>
> I am currently using IDL 8.3 for a summer research project at my university. I am trying to use the "contour" plotting function, which has worked before in the past perfectly. Recently, however, whenever I attempt to create a contour plot using the correct syntax that has worked before, IDL gives me the following error:
>
> % CONTOUR: Error opening file. File: C:\Program Files\IDL\IDL82\resource\fonts\hersh1.chr
> The system cannot find the path specified.
> % Execution halted at: $MAIN$
>
> I am not quite sure what to make of this, as I do not even have an IDL82 folder in my computer and opening a file has nothing to do with the contour plot I am trying to create. Any suggestions or advice you can offer?
>
> Thanks a lot!

Check your environment variables to see if you have a rogue IDL_DIR or IDL_PATH set somewhere.
-C
Re: Contour Plot Error [message #91181 is a reply to message #91180] Thu, 11 June 2015 16:43 Go to previous messageGo to next message
joseph.george is currently offline  joseph.george
Messages: 2
Registered: June 2015
Junior Member
On Thursday, June 11, 2015 at 7:27:56 PM UTC-4, Chris Torrence wrote:
> On Thursday, June 11, 2015 at 5:26:43 PM UTC-6, joseph...@richmond.edu wrote:
>> Hello,
>>
>> I am currently using IDL 8.3 for a summer research project at my university. I am trying to use the "contour" plotting function, which has worked before in the past perfectly. Recently, however, whenever I attempt to create a contour plot using the correct syntax that has worked before, IDL gives me the following error:
>>
>> % CONTOUR: Error opening file. File: C:\Program Files\IDL\IDL82\resource\fonts\hersh1.chr
>> The system cannot find the path specified.
>> % Execution halted at: $MAIN$
>>
>> I am not quite sure what to make of this, as I do not even have an IDL82 folder in my computer and opening a file has nothing to do with the contour plot I am trying to create. Any suggestions or advice you can offer?
>>
>> Thanks a lot!
>
> Check your environment variables to see if you have a rogue IDL_DIR or IDL_PATH set somewhere.
> -C

Thanks Chris, that was it! For some reason, the !DIR is set to an IDL82 path every time I open the software up despite me having version 8.3. I suppose I will have to manually specify !DIR every time I go in.
Re: Contour Plot Error [message #91182 is a reply to message #91181] Thu, 11 June 2015 17:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
joseph.george@richmond.edu writes:

> Thanks Chris, that was it! For some reason, the !DIR is set to an IDL82 path every time I open the software up despite me having version 8.3. I suppose I will have to manually specify !DIR every time I go in.

No way around it. Your software is totally bonkers. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Experience with ENVIRasterSeries?
Next Topic: Reading particular data from a text file

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

Current Time: Wed Oct 08 09:22:30 PDT 2025

Total time taken to generate the page: 0.00424 seconds