Seems a good time for you to migrate to newer versions of scilab<div><br><div>Regards,</div><div>-- <br>Sumit Adhikari,<br>Institute of Computer Technology,<br>Faculty of Electrical Engineering,<br>Vienna University of Technology,<br>
Gußhausstraße 27-29,1040 Vienna<br><br><div class="gmail_quote">On Sat, Jun 25, 2011 at 9:09 PM, Sumit Adhikari <span dir="ltr"><<a href="mailto:sumit.adhikari@gmail.com">sumit.adhikari@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That is what I see! Please check the attached pdf file for what I see<div class="im"><div>Regards,</div><div><br></div>
<div><br>-- <br>Sumit Adhikari,<br>Institute of Computer Technology,<br>Faculty of Electrical Engineering,<br>Vienna University of Technology,<br>
Gußhausstraße 27-29,1040 Vienna</div><div><br></div></div><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">On Sat, Jun 25, 2011 at 9:04 PM, Prof. Dr. Reinaldo Golmia Dante <span dir="ltr"><<a href="mailto:tiraduvidascefet@yahoo.com" target="_blank">tiraduvidascefet@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span></span><font size="2" face="Arial">Hi Sumit,</font></div>
<div><font size="2" face="Arial"></font> </div><div><font size="2" face="Arial">Do you see Y-axis at x = 0 ?</font></div><div><font size="2" face="Arial"></font> </div><div><font size="2" face="Arial">I don't see it ...</font></div>
<div><font size="2" face="Arial"></font> </div><div><font size="2" face="Arial">Regards,</font></div><div><font size="2" face="Arial">Reinaldo.</font></div><div><font size="2" face="Arial"> </font></div><div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt">
<div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="margin:5px 0px;padding:0px;border:1px solid rgb(204, 204, 204);line-height:0;font-size:0px" readonly></div><b><span style="font-weight:bold">From:</span></b> Sumit Adhikari <<a href="mailto:sumit.adhikari@gmail.com" target="_blank">sumit.adhikari@gmail.com</a>><br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br><b><span style="font-weight:bold">Sent:</span></b> Saturday, June 25, 2011 3:18 PM<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [scilab-Users] Drawing Y-axis in graph<div><div></div><div><br><br>
<div>But I see Y-axis in your plot on my scilab!<div><br></div><div>Regards,<br>-- <br>Sumit Adhikari,<br>Institute of Computer Technology,<br>Faculty of Electrical Engineering,<br>Vienna University of Technology,<br>Gußhausstraße 27-29,1040 Vienna<br>
<div><br><br><div>On Sat, Jun 25, 2011 at 8:01 PM, Prof. Dr. Reinaldo Golmia Dante <span dir="ltr"><<a href="mailto:tiraduvidascefet@yahoo.com" rel="nofollow" target="_blank">tiraduvidascefet@yahoo.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204, 204, 204);border-left-width:1px;border-left-style:solid">
<div><div style="color:rgb(0, 0, 0);font-family:arial, helvetica, sans-serif;font-size:10pt;background-color:rgb(255, 255, 255)"><div><span>Dear Scilab users,</span></div><div><span></span> </div><div><span>I would like to draw Y-axis in a graph, but it does not display !</span></div>
<div><span></span> </div><div><span>See the Scilab-codes:</span></div><div><span><span style="color:rgb(0, 0, 0)"><font color="#b01813"></font></span></span> </div><span><span style="color:rgb(0, 0, 0)"><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">funcao</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(188, 143, 143)">2</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(50, 185, 185)">exp</span><span style="color:rgb(74, 85, 219)">(</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(74, 85, 219)">)</span><span style="color:rgb(0, 0, 0)">;</span>
<span style="color:rgb(176, 24, 19)">endfunction</span>
<span style="color:rgb(0, 0, 0)">x_inicial</span> <span style="color:rgb(92, 92, 92)">=</span> <span style="color:rgb(92, 92, 92)">-</span><span style="color:rgb(188, 143, 143)">4</span>
<span style="color:rgb(0, 0, 0)">x_final</span> <span style="color:rgb(92, 92, 92)">=</span> <span style="color:rgb(188, 143, 143)">4</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(0, 0, 0)">x_inicial</span> <span style="color:rgb(0, 0, 0)">,</span> <span style="color:rgb(0, 0, 0)">x_final</span><span style="color:rgb(0, 0, 0)">,</span> <span style="color:rgb(188, 143, 143)">100</span><span style="color:rgb(74, 85, 219)">)</span><span style="color:rgb(0, 0, 0)">;</span>
<span style="color:rgb(0, 0, 0)">y_inicial</span> <span style="color:rgb(92, 92, 92)">=</span> <span style="color:rgb(92, 92, 92)">-</span><span style="color:rgb(188, 143, 143)">1.0</span><span style="color:rgb(0, 0, 0)">;</span>
<span style="color:rgb(0, 0, 0)">y_final</span> <span style="color:rgb(92, 92, 92)">=</span> <span style="color:rgb(188, 143, 143)">1.0</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);text-decoration:underline">funcao</span><span style="color:rgb(74, 85, 219)">)</span>
<span style="color:rgb(50, 185, 185)">xtitle</span> <span style="color:rgb(74, 85, 219)">(</span> <span style="color:rgb(188, 143, 143)">"</span><span style="color:rgb(188, 143, 143)">Função</span><span style="color:rgb(188, 143, 143)">"</span> <span style="color:rgb(0, 0, 0)">,</span> <span style="color:rgb(188, 143, 143)">"</span><span style="color:rgb(188, 143, 143)">X axis </span><span style="color:rgb(188, 143, 143)">"</span> <span style="color:rgb(0, 0, 0)">,</span> <span style="color:rgb(188, 143, 143)">"</span><span style="color:rgb(188, 143, 143)">Y axis </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(50, 185, 185)">drawaxis</span><span style="color:rgb(74, 85, 219)">(</span><span style="color:rgb(0, 0, 0)">x</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(0, 0, 0)">x_inicial</span><span style="color:rgb(255, 170, 0)">:</span><span style="color:rgb(0, 0, 0)">x_final</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 0)">y</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">0</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(174, 92, 176);text-decoration:underline">dir</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(188, 143, 143)">d</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 0)">tics</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(188, 143, 143)">v</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(1, 168, 1);font-style:italic">//Here X-axis displays</span>
<span style="color:rgb(50, 185, 185)">drawaxis</span><span style="color:rgb(74, 85, 219)">(</span><span style="color:rgb(0, 0, 0)">y</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(0, 0, 0)">y_inicial</span><span style="color:rgb(255, 170, 0)">:</span><span style="color:rgb(0, 0, 0)">y_final</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 0)">x</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">0</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(174, 92, 176);text-decoration:underline">dir</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(188, 143, 143)">d</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(0, 0, 0)">,</span><span style="color:rgb(0, 0, 0)">tics</span><span style="color:rgb(92, 92, 92)">=</span><span style="color:rgb(188, 143, 143)">'</span><span style="color:rgb(188, 143, 143)">v</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(1, 168, 1);font-style:italic">// I try to do the same, but Y-axis does not display :-(((</span>
<span style="color:rgb(174, 92, 176);text-decoration:underline">legend</span> <span style="color:rgb(74, 85, 219)">(</span> <span style="color:rgb(188, 143, 143)">"</span><span style="color:rgb(188, 143, 143)">2*x*exp(-x^2)</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>
</span></span><span><span style="color:rgb(0, 0, 0)"><font color="#000000">I appreciate your comments.</font></span></span><pre style="font-family:Monospaced;font-style:normal"><span><span style="color:rgb(0, 0, 0)">Thank you in advance.</span></span></pre>
<pre style="font-family:Monospaced;font-style:normal"><span><span style="color:rgb(0, 0, 0)">All best,</span></span></pre><pre style="font-family:Monospaced;font-style:normal"><span><span style="color:rgb(0, 0, 0)">Reinaldo.</span></span></pre>
</div></div></blockquote></div><br><br clear="all"><br>
</div></div>
</div><br><br></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><br>
</div>
</div></div></blockquote></div><br><br clear="all"><br><br>
</div></div>