[Scilab-users] Plot function in scilab

Lester Anderson arctica1963 at gmail.com
Tue Aug 13 07:42:38 CEST 2013


Works fine on 5.4.1 (Windows 7)

function f=myquadratic(x)
   f = x^2endfunctionxdata = linspace(1 , 10 , 50);ydata =
myquadratic(xdata);plot (xdata ,
ydata);xlabel("X-Data");ylabel("Y-Data");title("myquadratic");

Lester



On 12 August 2013 22:43, Niels Peter Fenger <n.p.fenger at gmail.com> wrote:

> 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
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130813/22b2f83c/attachment.htm>


More information about the users mailing list