[Scilab-users] RE(2): Scilab 5.5 filled curve plotting issue?

Rafael Guerra jrafaelbguerra at hotmail.com
Sat Aug 23 12:08:22 CEST 2014


(my previous email was inaccurate, please disregard it; corrections below)

 

Hi Samuel,

 

Fyi, adding a small number (~1e-6*max) to the series and keeping the ends
equal to zero overcomes the self-intersecting issue, resulting in a proper
filled-curve plot2d plot.

Le voilà:



 

“Never underestimate the ingenuity of complete fools.", Douglas Adams

Kind regards,

Rafael G.

 

 

From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Samuel
Gougeon
Sent: Friday, August 22, 2014 8:46 AM
To: International users mailing list for Scilab.
Subject: Re: [Scilab-users] Scilab 5.5 filled curve plotting issue?

 

Hello Rafael,

Le 19/08/2014 21:17, Rafael Guerra a écrit :

Hi Samuel,

 

Thanks for pointing to the bug tracker.

I have read the explanations but could not find a workaround.

 

I hope what I say is mathematically correct:

The two data series provided in my example below seem to be topologically
equivalent and if true, 


 
Yes, both are self-intersecting polygons. The limitation of the algorithm
does not say that none of self-intersecting polygons can be processed
conveniently, but that there is no garanty for some of them.

.../... 

I.e., how to fix top data series provided so that it displays properly like
the bottom one?



By fixing the algo rewritten for Scilab 5.3.0 with heavy downgrades listed
in the comment w.r.t. the former one.
This is also showing in 3D and reported here:
http://bugzilla.scilab.org/show_bug.cgi?id=8310
http://bugzilla.scilab.org/attachment.cgi?id=2068

Regards
Samuel



 

cid:image003.jpg at 01CFBB45.426D7180

 

Thanks and regards

Rafael G.

 

From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Samuel
Gougeon
Sent: Tuesday, August 19, 2014 8:40 AM
To: International users mailing list for Scilab.
Subject: Re: [Scilab-users] Scilab 5.5 filled curve plotting issue?

 

Hello Rafael,

Le 19/08/2014 01:33, Rafael Guerra a écrit :

Hello,

 

The attached simple Scilab script and data plots quite similar data as
filled curves in Scilab 5.5 (Win 7) with quite different results:

This is a known bug reported 2 years ago in
http://bugzilla.scilab.org/show_bug.cgi?id=11632
 



 

Any ideas of what can be causing the completely different behaviour of
plot2d / polyline_style = 5?

Please see comments #2 and #3 of the report.

Regards
Samuel





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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140823/5d521c6d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5330 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20140823/5d521c6d/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 7212 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20140823/5d521c6d/attachment-0001.jpg>


More information about the users mailing list