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 #38617 is a reply to message #38488] Thu, 11 March 2004 13:01 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Hi David,

"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1ab9a7d49f84162c9896f7@news.frii.com...
> Folks,
>
> I wanted to display some images today in a !P.MULTI situation.
> It used to be that my TVIMAGE program could handle !P.MULTI
> events automatically. (Don't try this at home with TV.) But
> this appeared to be broken in IDL 6.0. No !P.MULTI behavior
> at all!
>
> I traced the problem to a change in how system variables
> behave in IDL 6.0. Here is a sequence of plots in IDL 5.6.
> Notice now the !X and !Y window fields update the plot
> location as you go.
>
> [...]
>
> Here is the same sequence of commands in IDL 6.0. No updating of
> the system variables. :-(
>
> IDL> print, !Version
> { x86 Win32 Windows Microsoft Windows 6.0 Jun 27 2003 32 64}
>
> [...]

That's a bummer! Good news and bad news: mine on Windows is working
OK...

IDL> Print, !Version
{ x86 Win32 Windows Microsoft Windows 6.0 Jun 27 2003 32 64}
IDL> !P.Multi=[0,2,3]
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.0562550 0.706672 0.483130 0.980005
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.556255 0.706672 0.983130 0.980005
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.0562550 0.373338 0.483130 0.646672
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.556255 0.373338 0.983130 0.646672
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.0562550 0.0400050 0.483130 0.313338
IDL> plot, findgen(11)
IDL> print, !X.Window[0], !Y.Window[0], !X.Window[1], !Y.Window[1]
0.556255 0.0400050 0.983130 0.313338

I did this at startup to the 'WIN' device, what device were you drawing
to? Let us know what you find out.

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[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: Sun Oct 12 04:48:25 PDT 2025

Total time taken to generate the page: 0.88210 seconds