[Scilab-users] Plotting -- why wrong values on the x and y axes?

tanthiamhuat tanthiamhuat at yahoo.com
Wed Jul 9 07:12:52 CEST 2014


t=linspace(0,2*%pi);y=sin(t);plot(y)

why do I get a plot with wrong x-y values?

see output here..
http://postimg.org/image/x7c75ucpz/

isn't my x-values range should be from 0 to 2*pi (6.283185), and the maximum
y-values to be 1, and minimum y-values to be -1?

what went wrong?



--
View this message in context: http://mailinglists.scilab.org/Plotting-why-wrong-values-on-the-x-and-y-axes-tp4030855.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list