<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="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)">;<br>
<br></span></pre><pre style="font-family:Monospaced;font-style:normal"><span style="color:rgb(0,0,0)">Lester<br></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 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 href="mailto:n.p.fenger@gmail.com" target="_blank">n.p.fenger@gmail.com</a><br>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>