Thanks, Stephan.<div>Can you help me a little further.</div><div>Suppose I have the data</div><div>x = [0:0.1:1]</div><div>y = sin(x)</div><div>plot(x, y)</div><div>xtitle("My Title", "Value of x", "Sin (x)")</div>
<div><br></div><div>y2 = 2 * sin(x)<br>//y2label = "2 * sin(x)"</div><div><br>How do I plot y2 so that it uses the right Y-axis with its y2label properly specified<br><div class="gmail_quote"><br></div><div class="gmail_quote">
On Sat, Feb 23, 2013 at 1:25 PM, Stefan Du Rietz <span dir="ltr"><<a href="mailto:sdr@durietz.se" target="_blank">sdr@durietz.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://help.scilab.org/docs/5.4.0/en_US/drawaxis.html" target="_blank">http://help.scilab.org/docs/5.<u></u>4.0/en_US/drawaxis.html</a><br>
<br>
/Stefan<div class="im"><br>
<br>
On 2013-02-23 22:19, Samuel Enibe wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Thanks, Spougeon.<br>
This has partly solved the problem. Suppose I have two plots on the same<br>
graph, one is to use the left Y-axis, while the second is to use the<br>
right Y-axis. How should I handle it with gca() or any other command?<br>
<br>
Samuel Ogbonna Enibe<br>
University of Nigeria, Nsukka, Nigeria<br>
<br>
<br>
On Fri, Feb 8, 2013 at 8:14 AM, <<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a><br></div><div class="im">
<mailto:<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a>>> wrote:<br>
<br>
    Hello,<br>
<br>
    according to your needs, you may do either:<br>
<br>
    plot2d()<br>
    ax = gca();<br>
    ax.y_location = 'right';<br>
<br>
    or<br>
<br>
    demo_gui() // then Graphics => 2D & 3D => plotyy | plotyyy<br>
    // and look at the code, using<br>
    help newaxes // <a href="http://help.scilab.org/docs/5.4.0/en_US/newaxes.html" target="_blank">http://help.scilab.org/docs/5.<u></u>4.0/en_US/newaxes.html</a><br>
<br>
    Regards<br>
    Samuel<br>
    ______________________________<u></u>_________________<br>
    users mailing list<br></div>
    <a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a> <mailto:<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><u></u>><br>
    <a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
<br>
--</font></span><div class="im"><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Samuel Ogbonna Enibe<br>BEng (Nig), MSc (Reading, England), PhD (Nig)<br>Professor of Mechanical Engineering<br>Director, National Centre for Equipment  Maintenance & Development<br>
University of Nigeria, Nsukka, Nigeria<br>Tel: +2348063646798<br>Email: <a href="mailto:samuel.enibe@unn.edu.ng">samuel.enibe@unn.edu.ng</a><br>     <a href="mailto:enibesam@yahoo.com">enibesam@yahoo.com</a>
</div>