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

Dang, Christophe Christophe.Dang at sidel.com
Wed Jul 9 08:59:55 CEST 2014


Hello, 

> De :  Radovan Omorjan
> Envoyé : mercredi 9 juillet 2014 08:53
>
> > On 7/9/2014 8:15 AM, tanthiamhuat wrote:
> > 
> > why does the above 2 lines give a plot which
> >  does not touch the x-axis at
> > x=2*pi? also, it seems not to be exact at (0,0). 
> > see http://postimg.org/image/4t4pcqub5/ 
>
> Have in mind that colon operator and linspace()
> work differently. 

This alos might be due to a raster effect.

Try

a = gca();
a.tight_limits = "on";

and see if you've got a better result.

Generally speaking, to adjust the scale and the axes, you might have a look at

http://help.scilab.org/docs/5.5.0/en_US/axes_properties.html

-- 
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