<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
To Lester<br>
<br>
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.<br>
<br>
Regards<br>
<br>
Niels Peter Fenger<br>
<br>
<div class="moz-cite-prefix">On 19-08-2013 23:55, Lester Anderson
wrote:<br>
</div>
<blockquote
cite="mid:CAE3taFBf1V1gHjMSLbU_JEvBPo=uQTubEZEZgwo7a8LLSWJogA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hello Niels,<br>
<br>
</div>
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.<br>
<br>
</div>
The code you had works fine on Windows 7 at least - it is
a very simple program so should run.<br>
<br>
</div>
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.<br>
<br>
</div>
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. <br>
<pre style="font-family:Monospaced;font-style:normal"><span style="color:rgb(176,24,19)">function</span> <span style="color:rgb(131,67,16);font-weight:bold">f</span><span style="color:rgb(92,92,92)">=</span><span style="color:rgb(0,0,0);text-decoration:underline">myquadratic</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(131,67,16);font-weight:bold">x</span><span style="color:rgb(74,85,219)">)</span>
<span style="color:rgb(131,67,16);font-weight:bold">f</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(131,67,16);font-weight:bold">x</span><span style="color:rgb(92,92,92)">^</span><span style="color:rgb(188,143,143)">2</span>
<span style="color:rgb(176,24,19)">endfunction</span>
<span style="color:rgb(0,0,0)">xdata</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(174,92,176);text-decoration:underline">linspace</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">1</span> <span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(188,143,143)">10</span> <span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(188,143,143)">50</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">ydata</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(0,0,0);text-decoration:underline">myquadratic</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">xdata</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">plot</span> <span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">xdata</span> <span style="color:rgb(0,0,0)">,</span> <span style="color:rgb(0,0,0)">ydata</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">xlabel</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">X-Data</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">ylabel</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">Y-Data</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">title</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">myquadratic</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">; </span></pre>
<br>
</div>
Lester<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 19 August 2013 21:29, Niels Peter
Fenger <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:n.p.fenger@gmail.com" target="_blank">n.p.fenger@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> To Lester<br>
<br>
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?<br>
<br>
Regards<br>
<br>
Niels Peter Fenger<br>
<br>
<br>
<br>
<div>Den 13-08-2013 07:42, Lester Anderson skrev:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">Works fine on 5.4.1 (Windows 7)<br>
<br>
<pre style="font-family:Monospaced;font-style:normal"><span style="color:rgb(176,24,19)">function</span> <span style="color:rgb(131,67,16);font-weight:bold">f</span><span style="color:rgb(92,92,92)">=</span><span style="text-decoration:underline">myquadratic</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(131,67,16);font-weight:bold">x</span><span style="color:rgb(74,85,219)">)</span>
<span style="color:rgb(131,67,16);font-weight:bold">f</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(131,67,16);font-weight:bold">x</span><span style="color:rgb(92,92,92)">^</span><span style="color:rgb(188,143,143)">2</span>
<span style="color:rgb(176,24,19)">endfunction</span>
<span style="">xdata</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(174,92,176);text-decoration:underline">linspace</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">1</span> <span style="">,</span> <span style="color:rgb(188,143,143)">10</span> <span style="">,</span> <span style="color:rgb(188,143,143)">50</span><span style="color:rgb(74,85,219)">)</span><span style="">;</span>
<span style="">ydata</span> <span style="color:rgb(92,92,92)">=</span> <span style="text-decoration:underline">myquadratic</span><span style="color:rgb(74,85,219)">(</span><span style="">xdata</span><span style="color:rgb(74,85,219)">)</span><span style="">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">plot</span> <span style="color:rgb(74,85,219)">(</span><span style="">xdata</span> <span style="">,</span> <span style="">ydata</span><span style="color:rgb(74,85,219)">)</span><span style="">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">xlabel</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">X-Data</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">ylabel</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">Y-Data</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="">;</span>
<span style="color:rgb(174,92,176);text-decoration:underline">title</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">myquadratic</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(74,85,219)">)</span><span style="">;
</span></pre>
<pre style="font-family:Monospaced;font-style:normal"><span style="">Lester
</span></pre>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 12 August 2013 22:43,
Niels Peter Fenger <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:n.p.fenger@gmail.com"
target="_blank">n.p.fenger@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hi,<br>
<br>
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?<br>
<br>
Regards<br>
<br>
Niels Peter Fenger<br>
<br>
E-mail: <a moz-do-not-send="true"
href="mailto:n.p.fenger@gmail.com"
target="_blank">n.p.fenger@gmail.com</a><br>
<br>
_______________________________________________<br>
users mailing list<br>
<a moz-do-not-send="true"
href="mailto:users@lists.scilab.org"
target="_blank">users@lists.scilab.org</a><br>
<a moz-do-not-send="true"
href="http://lists.scilab.org/mailman/listinfo/users"
target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
users mailing list
<a moz-do-not-send="true" href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>
<a moz-do-not-send="true" href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
users mailing list<br>
<a moz-do-not-send="true"
href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a moz-do-not-send="true"
href="http://lists.scilab.org/mailman/listinfo/users"
target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
Denne e-mail er fri for virus og malware fordi <a href="http://www.avast.com/">avast! Antivirus</a> beskyttelse er aktiveret.
</p>
</td>
</tr>
</table>
<br />
</body>
</html>