[Scilab-users] exporting Matplot RGB image to vector formats : BUG ?

2020-05-26 Thread Antoine Monmayrant
Hi all, It seems there is a bug in the export of graphics to vector formats (svg, pdf, ps): it fails for elements in your graphic windows that were generated using Matplot on an RGB hypermatrix: /

Re: [Scilab-users] exporting Matplot RGB image to vector formats : BUG ?

2020-05-27 Thread Samuel Gougeon
Hello Antoine, Just add gce().image_type = "rgba"; immediately after the Matplot() instruction, without adding a fourth layer to gce().data. This makes the three .svg .pdf and .ps conversions working. Best regards. Samuel Le 27/05/2020 à 08:58, Antoine Monmayrant a écrit : Hi all, It see

Re: [Scilab-users] exporting Matplot RGB image to vector formats : BUG ?

2020-05-28 Thread Antoine Monmayrant
Yep, I've just seen your message on bugzilla. I confirm it solves the problem on my mwe. I'll try to use it on maximum-nonworking-example today. Thanks! Antoine On 28/05/2020 00:37, Samuel Gougeon wrote: Hello Antoine, Just add gce().image_type = "rgba"; immediately after the Matplot() instr

Re: [Scilab-users] exporting Matplot RGB image to vector formats : BUG ?

2020-05-28 Thread Antoine Monmayrant
OK, just tested on my real plot: it does work! Samuel: how did you come up with this fix? Antoine On 28/05/2020 00:37, Samuel Gougeon wrote: Hello Antoine, Just add gce().image_type = "rgba"; immediately after the Matplot() instruction, without adding a fourth layer to gce().data. This make