Re: [Scilab-users] Plots on second Y axis

2020-05-08 Thread mathias_magdowski
I have found some problems in my code for certain ratios between the minimum and maximum values of both function. This is hopefully fixed now: -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users

Re: [Scilab-users] Plots on second Y axis

2017-03-29 Thread mathias_magdowski
e high number of input arguments if there are more flexible solutions. -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Plots-on-second-Y-axis-tp4025895p4036078.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _

Re: [Scilab-users] Plots on second Y axis

2017-03-29 Thread JLan
first function plot(x,y1); gca().title.text=t; gca().y_label.font_foreground=2; gca().y_label.text=y1_l; // plot of the second function plot(x,y2,"r"); gca().y_label.font_foreground=5; gca().y_label.text=y2_l; gca().x_label.text=x_l; .... J

Re: [Scilab-users] Plots on second Y axis

2017-03-28 Thread Dang Ngoc Chan, Christophe
Hello, Thanks for sharing. Just a general comment: > De : mathias_magdowski > Envoyé : mardi 28 mars 2017 09:52 > > while 1 >if distance>10 then > [...] >elseif distance<1 then >[... ] >else >// exit loop >break; >end > end I can admit

Re: [Scilab-users] Plots on second Y axis

2017-03-28 Thread paul . carrico
/ Output: > // a1, a2 - axes -> handle > function [a1,a2]=plotyy(x,y1,y2) > // example for a diagram with two y axes > // see: > https://commons.wikimedia.org/wiki/File:Trace_ln_sqrt_1_2_deux_echelles_scilab.svg > // and: > http://mailinglists.scilab.org/Scilab-us

Re: [Scilab-users] Plots on second Y axis

2017-03-28 Thread mathias_magdowski
for a diagram with two y axes // see: https://commons.wikimedia.org/wiki/File:Trace_ln_sqrt_1_2_deux_echelles_scilab.svg // and: http://mailinglists.scilab.org/Scilab-users-Plots-on-second-Y-axis-td4025895.html // generation of the right y axis a1=newaxes(); a1.tight_l

Re: [Scilab-users] Plots on second Y axis

2016-08-25 Thread bjarne12
://mailinglists.scilab.org/Scilab-users-Plots-on-second-Y-axis-tp4025895p4034490.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Plots on second Y axis

2013-02-25 Thread Dang, Christophe
Hello, Suppose I have two plots on the same graph, one is to use the left Y-axis, while the second is to use the right Y-axis. How should I handle it with gca() or any other command? You might have a look at http://commons.wikimedia.org/wiki/File:Trace_ln_sqrt_1_2_deux_echelles_scilab.svg

Re: [Scilab-users] Plots on second Y axis

2013-02-23 Thread Samuel Enibe
Thanks, Spougeon. This has partly solved the problem. Suppose I have two plots on the same graph, one is to use the left Y-axis, while the second is to use the right Y-axis. How should I handle it with gca() or any other command? Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria On

Re: [Scilab-users] Plots on second Y axis

2013-02-23 Thread Stefan Du Rietz
http://help.scilab.org/docs/5.4.0/en_US/drawaxis.html /Stefan On 2013-02-23 22:19, Samuel Enibe wrote: Thanks, Spougeon. This has partly solved the problem. Suppose I have two plots on the same graph, one is to use the left Y-axis, while the second is to use the right Y-axis. How should I

Re: [Scilab-users] Plots on second Y axis

2013-02-23 Thread Stefan Du Rietz
Hi Samuel. you can have different y_tick.labels on the left and right y axes and multiply the y-data of the line with the right y axis with a factor. In your case the left y axis could have y_tick.labels from -1 to +1 and the right y axis from -2 to +2. But because both lines are drawn in the

[Scilab-users] Plots on second Y axis

2013-02-08 Thread Samuel Enibe
Dear Sir, Could you please let me know the SCILAB command to use in making a plot on the SECOND (right) Y axis. Thank you very much. -- Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria Tel: +2348063646798 Email: samuel.en...@unn.edu.ng enibe...@yahoo.com

Re: [Scilab-users] Plots on second Y axis

2013-02-08 Thread sgougeon
Hello, according to your needs, you may do either: plot2d() ax = gca(); ax.y_location = 'right'; or demo_gui() // then Graphics = 2D 3D = plotyy | plotyyy // and look at the code, using help newaxes // http://help.scilab.org/docs/5.4.0/en_US/newaxes.html Regards Samuel