[Scilab-users] Plot function in scilab

Niels Peter Fenger n.p.fenger at gmail.com
Sun Dec 22 19:13:58 CET 2013


To Lester

I have nov installed Windows 7 on my computer and plotting is working 
well. I have now made some usefull tasks successfully using Scilab. 
Thank you for guiding me.

Regards

Niels Peter Fenger

On 19-08-2013 23:55, Lester Anderson wrote:
> Hello Niels,
>
> I am not sure if the Windows version is the issue, but are you on 
> 32-bit or 64-bit ? Not too familiar with Windows Vista other than it 
> always seemed to hog loads of memory.
>
> The code you had works fine on Windows 7 at least - it is a very 
> simple program so should run.
>
> I have attached the code as a .sci file so you can load it up in 
> SciNotes and execute it directly, or copy straight to the console 
> window. We need to see where you are having problems; the plot command 
> should not cause any problems.
>
> If you can try Scilab on a different machine, with say Windows 7 then 
> we can have a better idea as to what is going on.
> function  f=myquadratic(x)
>     f  =  x^2
> endfunction
> xdata  =  linspace(1  ,  10  ,  50);
> ydata  =  myquadratic(xdata);
> plot  (xdata  ,  ydata);
> xlabel("X-Data");
> ylabel("Y-Data");
> title("myquadratic");
>
> Lester
>
>
> On 19 August 2013 21:29, Niels Peter Fenger <n.p.fenger at gmail.com 
> <mailto:n.p.fenger at gmail.com>> wrote:
>
>     To Lester
>
>     Thank you for your mail. I have now installed Scilab 5.4.1 instead
>     of version 5.4.0. The problem is however the same: Without the
>     plot command  in line 0006 the xdata and the ydata are shown
>     correct. When i include the plot command and execute everything
>     disappears from the screen. My computer has Wista, could that be
>     the reason?
>
>     Regards
>
>     Niels Peter Fenger
>
>
>
>     Den 13-08-2013 07:42, Lester Anderson skrev:
>>     Works fine on 5.4.1 (Windows 7)
>>
>>     function  f=myquadratic(x)
>>         f  =  x^2
>>     endfunction
>>     xdata  =  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
>>     <mailto: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 <mailto:n.p.fenger at gmail.com>
>>
>>         _______________________________________________
>>         users mailing list
>>         users at lists.scilab.org <mailto:users at lists.scilab.org>
>>         http://lists.scilab.org/mailman/listinfo/users
>>
>>
>>
>>
>>     _______________________________________________
>>     users mailing list
>>     users at lists.scilab.org  <mailto:users at lists.scilab.org>
>>     http://lists.scilab.org/mailman/listinfo/users
>
>
>     _______________________________________________
>     users mailing list
>     users at lists.scilab.org <mailto:users at lists.scilab.org>
>     http://lists.scilab.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users



---
Denne e-mail er fri for virus og malware fordi avast! Antivirus beskyttelse er aktiveret.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20131222/046e9a03/attachment.htm>


More information about the users mailing list