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

Home » Public Forums » archive » Re: Problem in oploterror in cgWindow
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: Problem in oploterror in cgWindow [message #83245 is a reply to message #83244] Wed, 13 February 2013 17:32 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>
> poonam.chandra@gmail.com writes:
>
>> Please somebody help me with this. I really need to get it done very soon. I have a deadline to meet.
>
> Hi Poonam,
>
> Your earlier messages didn't show up on my newsreader for some reason.
> Sorry for not responding sooner.
>
> I have a meeting tonight that starts in just a few minutes and will last
> a few hours. But, just glancing at this problem, it appears oploterror
> is turning cgWindow off! At least in my version, after I call it, my
> window no longer resizes or anything!
>
> I really don't know why it would be doing that. I'll investigate and get
> back to you as soon as I can.

OK, I find these lines at about line 235 in oploterror:

; if window then begin
; cgcontrol, execute = 0
; wset,cgquery(/current)
; endif

I don't know why they are there. (This is a NASA Astronomy routine.)
But, if I comment them out, then things appear to work normally.

IDL> cgplot, x, y, /Window, WMulti=[0,2,1]
IDL> oploterror, x, y, replicate(4, 101), /addcmd
IDL> cgplot, x, y, /addcmd
IDL> oploterror, x, y, replicate(4, 101), /addcmd

Will that work until I can talk to Wayne about what is going on here?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IF THEN ELSE Completion
Next Topic: Confusing and suspicious PROFILER output

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

Current Time: Sat Oct 11 15:37:48 PDT 2025

Total time taken to generate the page: 0.65670 seconds