[Scilab-users] plot bug in scilab 6.0 beta1

antoine.monmayrant at laas.fr antoine.monmayrant at laas.fr
Wed Mar 2 10:23:33 CET 2016


Hi all,

I found a bug in scilab 6.0 beta1.
Plot seems to fail for some curves when trying to specify a color 
different than the default one:

//BUG PLOT:

i=[-100:100];
i0=10;
di=4.0.^((i/i0)^2);

//OK, no error
scf();
plot(i,di);

// Error: Invalid index
scf();
plot(i,di,'r');

in builtin                getLineSpec ( 
/home/myhome/softs/scilab-6.0.0-beta-1/share/scilab/modules/graphics/macros/getLineSpec.sci 
line 11 )
at line   336 of function plot        ( 
/home/myhome/softs/scilab-6.0.0-beta-1/share/scilab/modules/graphics/macros/plot.sci 
line 348 )

Invalid index.

I don't know exactly how to phrase my bug report to state the problem 
clearly.
Any idea what's wrong and how to say it properly?



Antoine



More information about the users mailing list