[Scilab-users] {EXT} Scilab 6's plot2d displays %nan on the horizontal line in the mid-range of vertical axis
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Wed May 17 15:24:58 CEST 2017
Hello Denis,
> De CRETE Denis
> Envoyé : mercredi 17 mai 2017 14:20
>
> If %nan values are in the Y vector,
> plot2d behaves as if the following was performed before display:
> Y (isnan(Y))=(YM + Ym)/2
I'm not sure I understand what you're pointing out.
The following code works exactly as I expect:
----------
x = 1:5;
y=x.^2;
y(3)=%nan;
plot(x, y)
----------
i.e. the point at x=3 is simply missing,
with a blank between x=2 and x=4.
--
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