[scilab-Users] How to define set of numbers without some special numbers?

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Fri May 22 14:06:53 CEST 2009


----- Message d'origine -----
De : Samuel GOUGEON
Date : 22/05/2009 13:46:
>
> After this remark, you may set y value of  special x locations to %inf or
> -%inf to use the same plotting feature (but buggy):
> x=-100:100;
> [v,kx]=intersect(x,[0 -2 3]);
> y=sin(x/10);
> y(kx)=%inf;
> plot2d(x,y);   // see buggy segment (i am reporting it through bugzilla)
After further tests, this bug seems to appear when a single point is 
isolated
(e.g. between two undrawable parts of the plot)(here at x=-1)
Therefore, the proposed answer to your initial question will work as long as
no point in the x-span is isolated (and that this plot2d() bug will not 
be fixed).

Regards
Samuel




More information about the users mailing list