Re: A possible bug in IDL 8.2.3 [message #84770 is a reply to message #84768] |
Fri, 07 June 2013 21:03   |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
On Friday, June 7, 2013 8:39:57 PM UTC-6, Xin Tao wrote:
> 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')
>
>
>
> The line of b will go outside the plotting box, because it tried to get to -1, but the yrange is limited to be [0,3] by a.
>
>
>
> Here is my IDL version:
>
>
>
> { x86_64 darwin unix Mac OS X 8.2.3 May 2 2013 64 64}
>
>
>
> Please let me know whether there is anything I can do about it.
>
>
>
> Thanks,
>
>
>
> Xin
Hi Xin,
I would recommend either not setting the YRANGE, or, just setting the Yrange after you add the second plot. Either way should get you what you want.
Cheers,
Chris
ExelisVIS
|
|
|