[Scilab-users] having an issue with 5.5.0 release

Samuel Gougeon sgougeon at free.fr
Fri Aug 29 23:38:52 CEST 2014


Le 28/08/2014 18:54, lgunseor at boumatic.com a écrit :
>
> When using 5.4.1 or the 5.5 beta version I don't have any issues with 
> my program, it runs fine with no errors.  When running it on the 
> latest 5.5.0 release I get errors (see below) and some of the plots 
> are missing from the graph.
>
> plot2d(X,Y)
>             !--error 999
> plot2d: Wrong size for input arguments: Incompatible sizes.
>
> Error 999 : in plot2d called by plotplot2d(X,Y)
>             !--error 999
> plot2d: Wrong size for input arguments: Incompatible sizes.
>
> Error 999 : in plot2d called by plot
>
> Attached is the program along with the data being used for the 
> program.  Is this a bug issue with the latest 5.5.0 release.  Don't 
> understand why I'm getting these errors.
>
How to debug?
1) Since it is not properly identified with whereis() in the error 
message => look for the plotting instruction yielding the error. To do 
so, no chance to succeed by running the whole script in a blind way. Run 
it step by step, selecting the whole starting part, down to the first 
plotting instruction that could trigger the error, and run the 
selection. If there is no error, select the following lines down to the 
next plotting instruction ; run them, and see. etc.. down to the plot 
yielding the error.
2) For this plotting instruction : display the size of each of the first 
two input parameters, and compare them.
3) Look in the help page of the involved plot/plot2 instruction whether 
the format of input parameters that you try to pas to the plot is 
accepted or not.

You will see that it is not the case. There are indeed mismatching 
parameters.
4) correct your program.
5) test it.

HTH
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140829/fff7d2ee/attachment.htm>


More information about the users mailing list