Re: Problem in oploterror in cgWindow [message #83244] |
Wed, 13 February 2013 20:15  |
Poonam
Messages: 7 Registered: June 2011
|
Junior Member |
|
|
Thanks David,
You are always there for my rescue. Yes, this will work in the meantime.
Ciao
Poonam
On Thursday, February 14, 2013 7:02:07 AM UTC+5:30, David Fanning wrote:
> 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.")
|
|
|