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
try to avoid having a function with an
unreasonable 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 Archive
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
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 t
tor
> // 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
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
ontsize', 3); //add label to x-axis
ylabel('add label, 'fontsize', 3); //add label to left y-axis
--
View this message in context:
http://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
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
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 s
Thanks, Stephan.
Can you help me a little further.
Suppose I have the data
x = [0:0.1:1]
y = sin(x)
plot(x, y)
xtitle("My Title", "Value of x", "Sin (x)")
y2 = 2 * sin(x)
//y2label = "2 * sin(x)"
How do I plot y2 so that it uses the right Y-axis with its y2label properly
specified
On Sat, Feb 23
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 handl
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 Fri
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
___
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
14 matches
Mail list logo