Re: A possible bug in IDL 8.2.3 [message #84771 is a reply to message #84769] |
Sat, 08 June 2013 00:07   |
Xin Tao
Messages: 40 Registered: April 2011
|
Member |
|
|
I expected it to behave in a normal way; i.e., the line of b should not go outside the box, since I have already set the yrange of the plot.
On Saturday, June 8, 2013 11:32:51 AM UTC+8, David Fanning wrote:
> Xin Tao writes:
>
>
>
>> I don't know whether this is a bug or not, but the behaviour of the following two lines is not what I expected
>
>>
>
>> IDL> a=plot([0,1,3],yrange=[0,3])
>
>> IDL> b = plot([-1,1,2],/overplot, 'g')
>
>
>
> What did you expect?
>
>
>
> 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.")
|
|
|