[Scilab-users] simple plot function
Luciano Andino
lucianoandino.ar at gmail.com
Sun Apr 2 21:52:52 CEST 2017
Thanks Pierre and Lamy. Now I have another question:
I draw a simple function and in same pic, also draw differents points (this
data in a vector)
also I want to put a label for each point "1", "2".."12"
how can I do it in scilab?, matlab's way doesn't work in my case
thanks
x=0:0.1:1
y=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9)./(21*x+6))-3.0;
plot(x,y)
x=info // it's a vector of 12 elements
w=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9)./(21*x+6))-3.0;
plot(info,w,'o')
2017-03-27 15:17 GMT+03:00 Lamy Alain <Alain.Lamy at cnes.fr>:
> Hello,
>
> It’s just because a “.” was missing.
>
> Alain
>
> x=0:0.05:1;
> y=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9) *./ *(21*x+6))-3.0;
> plot(x,y)
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
--
Luciano Andino
Ing. en Sistemas de Información
UTN FRSF
BMSTU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170402/de362f6f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25490 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20170402/de362f6f/attachment.png>
More information about the users
mailing list