[scilab-Users] plot2d error 999

Antoine Monmayrant antoine.monmayrant at laas.fr
Wed Dec 14 19:06:08 CET 2011


Le 13/12/11 15:45, Mike Page a écrit :
> Hi,
>
> If I enter the commands:
>
> x=[1:1000];
> y=zeros(x);
> y(1)=1;
> plot2d(x,y,logflag='ll');
>
> it works correctly,
>
> But if instead I enter:
>
> x=[1:1000];
> y=zeros(x);
> y(2)=1;
> plot2d(x,y,logflag='ll');
>
> I get the error:
>                           !--error 999
> plot2d: At least one y data must be strictly positive to compute the bounds
> and use logarithmic mode
>
> It looks like the first value has to be non-zero rather than simply any
> value being non-zero.
> Is this a bug, or am I misunderstanding the error message?
>
>
> Mike.
>
Well, it seems the error message is misleading, which sounds like a bug 
to me!

Antoine



More information about the users mailing list