Re: What does SET_PLOT, 'x' mean ? [message #66723 is a reply to message #66721] |
Thu, 11 June 2009 18:42   |
dosfun
Messages: 14 Registered: February 2009
|
Junior Member |
|
|
On 6月12日, 上午8时38分, "LI, Tongmu" <litongmu.u...@gmail.com> wrote:
> 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
First, IDL is case insensitive, so the variables *BIDS* AND *bIDS* in
your code are no different, but the later one will overrides the
previous one. For eample:
PRO CaseEx
BIDS = 10
bIDS = 20
print, BIDS, bIDS
; // 20, 20
END
Second, the procedure *set_plot* is used to set your output device,
find out more details by entering *? set_plot* in the idlworkbench
commandline.
Moreover, if you could paste your code out, it will be helpful.
Good Luck!
|
|
|