[Scilab-users] Plot function in scilab

Niels Peter Fenger n.p.fenger at gmail.com
Tue Aug 20 23:49:47 CEST 2013


To Lester

Thank you for mails and thank you for your patience. I am on 32- bit. I 
tryed to reinstal Scilab to the 64-bit version, but my computer will not 
accept the 64-bit version. I also tryed to copy your scripts to the 
console and run it. The result was the same: Scilab closed down immeadly 
and disappered from the screen.  I also tryed the sine function 
suggested in your last mail, same result. Something wrong with my 
computer? A soon as possibleI will try to find a person having a machine 
with Windows 7 and being willing to help me.

Regards

Niels Peter Fenger


Den 19-08-2013 23:55, Lester Anderson skrev:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130820/dde2c2d7/attachment.htm>


More information about the users mailing list