[Scilab-Dev] Fw: A mistake in Scilab 5.x

Bruno JOFRET bruno.jofret at scilab.org
Mon Apr 20 12:19:46 CEST 2009


Witold Zorski wrote:
>  
> ----- Original Message -----
> *From:* Witold Zorski <mailto:wzorski at poczta.onet.pl>
> *To:* dev-subscribe at lists.scilab.org 
> <mailto:dev-subscribe at lists.scilab.org>
> *Sent:* Saturday, April 18, 2009 1:08 PM
> *Subject:* A mistake in Scilab 5.x
> 
> Hello,
>  
> I am a happy user of Scilab.
> Starting form version 5.x I encountered a problem with “plot” command. 
> Below are two lines – the first doesn’t work in the case of Scilab 5.x 
> and is analogous to the second (that works in any Scilab version).
>  
> plot([-4:1:4],0,'b+') //works only in older version of Scilab (e.g. 4.1.2)
> plot(0,[-4:1:4],'b+') //works in any version of Scilab (e.g. 5.1.1)
>  
> Best regards,
> Witold Zorski
>  
> PS. The error looks that way:
>   !--error 10000
> plot: Wrong size for input arguments 'X' and 'Y': Incompatible dimensions.
> at line      92 of function checkXYPair called by : 
> line   225 of function plot called by : 
> plot([-4:1:4],0,'b+') //works only in older version of Scilab (e.g. 4.1
> line     6 of exec file called by :   
> exec("D:/PRACA/Politechnika Radomska/Scilab/examples/PZK/mistake.sce");
> while executing a callback

Hi,

This was a "wrong" limitation introduced to correct another BUG.
I reported (and corrected) this one [1]

Thanks for using Scilab.

Regards,

[1] http://bugzilla.scilab.org/show_bug.cgi?id=4422

-- 
Bruno JOFRET

       Software Designer
   ___ SCILAB - DIGITEO ___
   Tel : (+33/0)1.39.63.58.63
Mailto : bruno.jofret at scilab.org
    http://www.scilab.org
    http://www.digiteo.fr



More information about the dev mailing list