[Scilab-users] Plot function in scilab

Niels Peter Fenger n.p.fenger at gmail.com
Mon Aug 12 23:43:04 CEST 2013


Hi,

I have installed scilab and most of it works all right. I have however a 
problem with the flot function. I can illustrate the problem by the 
attached file plot-1.sce. When line no 0006 is omited, the xdata and the 
ydata are made correct. When I include the plot command line no. 0006 
and run the file, scilab disappears from my screen and I cannot see any 
error message. How can I produce a plot?

Regards

Niels Peter Fenger

E-mail:   n.p.fenger at gmail.com
-------------- next part --------------
function f = myquadratic(x)
   f = x^2
endfunction
xdata = linspace(1 , 10 , 50)
ydata = myquadratic (xdata)
plot (xdata , ydata)




More information about the users mailing list