[Scilab-users] {EXT} Plotting graphs
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Thu Nov 10 15:22:24 CET 2016
Hello,
> De : users [mailto:users-bounces at lists.scilab.org] De la part de Godson Moses
> Envoyé : jeudi 10 novembre 2016 14:50
>
> Plse how can one plot a single column by every other column in a matrix?
> And that on a single screen.
https://help.scilab.org/docs/6.0.0/en_US/plot.html
plot(x,y)
If x is a vector and y a matrix plot(x,y) plots each columns of y versus vector x.
e.g.
----------
x = (1:5)' ;
y = [x, x.^2];
plot(x, y);
legend("x", "x^2");
----------
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
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