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

Home » Public Forums » archive » Re: What does SET_PLOT, 'x' mean ?
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: What does SET_PLOT, 'x' mean ? [message #66721] Thu, 11 June 2009 22:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
LI, Tongmu writes:

> I am working on an old IDL code right now. And several parts of the
> code do not work well. I am nor sure whether it is because of the
> version or because of the poor coding. (But this is a published code.
> It should not have many problems.) Anyway, I found that in the code
> BIDS and bIDS stand for different variables. Is it true that IDL used
> to tell the difference between upper letters and lower letters?

No, it's not true. IDL has always been case insensitive.

> Besides, I found another sentence,
> SET_PLOT,'x'
> which cannot work well on my computer. By the way, I am using IDL 7.0
> on a windows platform. This sentence is in the part of the code which
> is mean to generate a PS file output. Because there is
> SET_PLOT,'ps'
> ahead of it.
> And then the configuration is set back. But "SET_PLOT,'X'" just does
> not work on my computer. Sorry I do not really understand how to
> correct. I even do not know what it should be corrected to. But if any
> one has any idea, please let me know.

Find the SET_PLOT, 'PS' line. Just ahead of that like put this:

thisDevice = !D.NAME

Now replace the SET_PLOT, 'X' line with this one:

SET_PLOT, thisDevice

Now your program will work on both LINUX and Windows computers.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: too many elements
Next Topic: What does SET_PLOT, 'x' mean ?

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

Current Time: Wed Oct 08 15:41:20 PDT 2025

Total time taken to generate the page: 0.00374 seconds