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

Home » Public Forums » archive » System Variable Behavior Changed in IDL 6.0
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: System Variable Behavior Changed in IDL 6.0 [message #38588 is a reply to message #38488] Fri, 12 March 2004 09:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Stein Vidar Hagfors Haugan writes:

> See http://idlastro.gsfc.nasa.gov/ftp/pro/plot/cleanplot.pro
> (i.e. in the idl astronomy library)
>
> It's a simple matter of "good plotting hygiene" :-)
>
> Recommended usage: Any time you make the assumption that nobody has
> changed the !P, !X, !Y, !Z variables and are proved wrong!

Well, this story just gets stranger and stranger.

Here is the *real* problem. Like almost all system variables,
you ought to be able to set the !P.Position system variable
to its default value by doing this:

!P.Position = 0

But, for some reason, in IDL 5.6 (Windows 2000 Pro), you
couldn't do this. It would make the position=[0,0,1,1],
instead of the "default", whatever that is.

So I came up with some elaborate scheme to get around this
and keep my programs working. But this has been fixed in
IDL 6.0, so my "problem" is that my hair-brained scheme
for IDL 5.6 is breaking everything in IDL 6.0.

Welcome to the wonderful world of backward compatibility. :-(

Cheers,

David

P.S. Let's just say I've entered into negotiations with Craig
to get ahold of his old IDL 4.0. At least there you know where
you are!

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Pass-By-Reference question. (ARG_PRESENT)
Next Topic: Re: System Variable Behavior Changed in IDL 6.0

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

Current Time: Wed Oct 15 15:29:00 PDT 2025

Total time taken to generate the page: 0.08424 seconds