[Scilab-users] Exporting graphics as non pink jpg with xinit/xend

Jens Simon Strom j.s.strom at hslmg.de
Sat Nov 19 12:44:36 CET 2016


Hallo Claus,
Not the below code produces pink on my screen. The pink comes in by 
using xs2jpg or xs2png. It is a recoded bug. So I want to use the 
workaround by xinit /xend. But that seems difficult to do for 
consecutive states of superposed plots.
Kind regards
Jens
----------------------------------
Am 19.11.2016 11:37, schrieb Claus Futtrup:
> Hi Jens
>
> I ran below code and there's nothing pink about it. I'm using Scilab 
> 5.5.0 on a Win10 machine.
>
> In the past I've experienced on a Win7 machine that the viewer in 
> Windows would give all plots a yellow-ish glaze.
>
> Jens - have you tried to view the exported JPEG file in various 
> software? It could be your viewer...
>
> Alternatively, have you tried exporting to e.g. PNG instead of JPG?
>
> If you conclude it's Scilab, then I think you have a corrupt library 
> file somewhere and maybe it could be resolved by a fresh reinstall of 
> Scilab.
>
> /Claus
>
> On 18-11-2016 20:43, Jens Simon Strom wrote:
>> Correction: The first phrase should read: In the following script I 
>> would like to save the sequential plots as (pinkless) JPGs.
>>
>> Am 18.11.2016 20:30, schrieb Jens Simon Strom:
>>> Hi,
>>> In the following script I would like to save the sequential plot 
>>> result as a pinkless jpg. I found no way to adapt the xinit/xend 
>>> workaround (for xs2jpg) to this case. After execution I would like 
>>> to have three JPGs containing one, two and three lines .
>>> xdel()
>>> for i=1:3
>>>      x=[0 1];
>>>      plot(x,i*x)  
>>>      halt()
>>> end
>>> In my real project the plots are param3d and plot3d. I hope that 
>>> makes no difference.
>>>
>>> Hoping for help with kind regards
>>> Jens
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> 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/20161119/48878763/attachment.htm>


More information about the users mailing list