[Scilab-users] {EXT} Plotting graphs

Godson Moses godsonikem at gmail.com
Thu Nov 10 16:06:13 CET 2016


Thanks
On Nov 10, 2016 3:38 PM, "Dang Ngoc Chan, Christophe" <
Christophe.Dang at sidel.com> wrote:

> 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.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161110/26371d23/attachment.htm>


More information about the users mailing list