[Scilab-users] ?==?utf-8?q? ?==?utf-8?q? Bug?: plot with nan values (Linux Ubuntu 17.04)

Rafael Guerra jrafaelbguerra at hotmail.com
Wed Oct 18 13:35:17 CEST 2017


Hi Antoine,

I observe the "No bug" behavior (i.e., gaps when plotting nans) in both Scilab 5.5.2 and Scilab 6.0.0 installations on Win7 64-bit PC.

Regards,
Rafael


-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Antoine Monmayrant
Sent: Wednesday, October 18, 2017 1:26 PM
To: Users mailing list for Scilab <users at lists.scilab.org>
Subject: Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? Bug?: plot with nan values (Linux Ubuntu 17.04)

Update:

1) Here is a simpler minimal working example:

///////////////////////////////////////////////
x=1:100;
y=rand(x);
th=0.1;
rg=find(y<th);
ynan=y;
ynan(rg)=%nan;

scf();
plot(x,y,'k.-');
plot(x,ynan,'r.-');
///////////////////////////////////////////////

2) This might be due to some graphic drivers, but I think I am up to date on that front. How can I check it's related to a graphic driver or not?

Antoine
 
 
Le Mercredi, Octobre 18, 2017 13:22 CEST, "Antoine Monmayrant" <antoine.monmayrant at laas.fr> a écrit: 
 
> Hi everyone,
> 
> I think I stumble upon a weird bug when plotting data with nan values: instead of a gap in the plot line, I have segments that go go towards the center of my plots.
> This bug is present on Ubuntu 17.04, but not on Ubuntu 16.04 and it affects both scilab 5.5.2 and 6.0.
> I attached the expected plot ('no_bug.png', what I get with 16.04), the bugged one ('bug.png') and the minimum working example ('bug_plot_nan.sce') with the original dataset with nans ('dat_with_nans.txt').
> Are you also affected by this bug? Which platform (OS) are you working on?
> 
> Cheers,
> 
> Antoine

_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


More information about the users mailing list