Fw: A mistake in Scilab 5.x

Witold Zorski wzorski at poczta.onet.pl
Sat Apr 18 13:10:08 CEST 2009


----- Original Message ----- 
From: Witold Zorski 
To: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090418/5274b26f/attachment.htm>


More information about the dev mailing list