What does SET_PLOT, 'x' mean ? [message #66724] |
Thu, 11 June 2009 17:38  |
LI, Tongmu
Messages: 3 Registered: June 2009
|
Junior Member |
|
|
Hi all,
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?
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.
Thanks in advance,
Tongmu LI
|
|
|
Re: What does SET_PLOT, 'x' mean ? [message #66842 is a reply to message #66724] |
Fri, 12 June 2009 13:49  |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
you need to replace with
set_plot,'win'
or do
thisdevice=!d.name
set_plot,'ps'
...
set_plot,thisdevice
Haje
"LI, Tongmu" <litongmu.ustc@gmail.com> wrote in message
news:4b3386f2-6394-43f1-a09f-51ffe210c8f4@b6g2000pre.googleg roups.com...
> Hi all,
>
> 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?
> 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.
>
> Thanks in advance,
>
> Tongmu LI
|
|
|