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

Home » Public Forums » archive » Another possible bug of the plot function in IDL8.2.3
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: Another possible bug of the plot function in IDL8.2.3 [message #85295 is a reply to message #85284] Tue, 23 July 2013 06:21 Go to previous message
Xin Tao is currently offline  Xin Tao
Messages: 40
Registered: April 2011
Member
Will do. Thanks for your reply.

Xin

On Tuesday, July 23, 2013 12:56:40 AM UTC+8, Mark Piper wrote:
> On Sunday, July 21, 2013 6:28:46 AM UTC-6, Xin Tao wrote:
>
>> IDL> print, !version
>
>>
>
>> { x86_64 darwin unix Mac OS X 8.2.3 May 2 2013 64 64}
>
>>
>
>>
>
>>
>
>> Here is the problem I have found. Not sure whether other people have reported this or not. I discovered this while making some plot using data from a simulation. So the numbers below might look strange to you.
>
>>
>
>>
>
>>
>
>> IDL> print, mean_b
>
>>
>
>> 0.0024484981
>
>>
>
>> IDL> print, maxb
>
>>
>
>> 0.047594825
>
>>
>
>> IDL> print, minb
>
>>
>
>> 1.0000000e-18
>
>>
>
>> IDL> a=plot([0,999], [minb,maxb], /ylog, yrange=[mean_b, maxb])
>
>>
>
>>
>
>>
>
>> The y axis of this plot is totally wrong. There is something wrong with the use of YRANGE in this case. However, if I do the following, the resulting figure looks fine.
>
>>
>
>>
>
>>
>
>> IDL> a=plot([0,999], [minb,maxb], /ylog)
>
>>
>
>> IDL> a.yrange=[mean_b, maxb]
>
>>
>
>>
>
>>
>
>> This sounds like a bug to me, but I'm not sure whether other people can reproduce this or not.
>
>>
>
>>
>
>>
>
>> Xin
>
>
>
> Hi Xin,
>
>
>
> Yup, this is a bug, just reported last week & with the workaround you've found. Would you please send a quick email to Tech Support so they can add you to the ticket? It's IDL-68781.
>
>
>
> mp
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Fatal error when opening an image file
Next Topic: Input/output Errors

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

Current Time: Fri Oct 10 05:19:24 PDT 2025

Total time taken to generate the page: 0.56061 seconds