[Scilab-users] Plot Graphs on Different Axes
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Tue Jul 27 18:24:30 CEST 2021
Hello Samuel
> De : De la part de Samuel Enibe
> Envoyé : mardi 27 juillet 2021 17:17
>
> I want to plot y1 with x1 (Graph 1) on Bottom x-axis and left y-axis and y2 with x2 (Graph 2) on Top x-axis and Right y-axis.
I'm not sure what you want to do but you may try something like this:
a1 = newaxes();
a1.tight_limits = "on";
plot(x1, y1);
a2 = newaxes();
a2.tight_limits = "on";
a2.x_location = "top";
a2.y_location = "right";
plot(x2, y2);
HTH
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
General
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the users
mailing list