<div dir="ltr">Hi Stefan,<div><br></div><div>I am experiencing pretty good results exporting pictures from Scilab as EPS, using xs2eps().</div><div>After that, you can convert the pictures using the linux command convert (if ImageMagick package is installed).</div>

<div>If you have a large number of pics, you can write a simple shell script to do that too.</div><div><br></div><div>Best regards,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 4:19 PM, Stefan Du Rietz <span dir="ltr"><<a href="mailto:sdr@durietz.se" target="_blank">sdr@durietz.se</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Calixte,<br>
thank you very much for your comprehensive reply! Now I understand why I must either install the proprietary driver (beware!) or use the vectorial export. I will probably choose the latter when I want to export a figure to be able to use it at my web site.<br>


<br>
Best regards<br>
Stefan<br>
<br>
<br>
On 2014-01-20 16:15, Calixte Denizet wrote:<br>
--------------------<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Stefan,<br>
<br>
Few comments:<br>
i) driver(...);xinit(...);...<u></u>xend(); implies a vectorial export: all<br>
the scene is completly drawn vectorialy (so the graphic card driver is<br>
not implied in the draw)<br>
ii) xs2png(0,...): a memory dump is done and the bitmap is converted<br>
into PNG. The GC driver is called to retrieve the data and it seems<br>
that this kind of bug is typical to Ubuntu with free driver... the<br>
only workaround I know (for the moment ;)) is to switch to the<br>
proprietary driver.<br>
<br>
Calixte<br>
<br>
On 17/01/2014 00:42, Stefan Du Rietz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Antoine,<br>
are we supposed to reply above as earlier or not ;-(<br>
<br>
When I did as you proposed:<br>
<br>
x = [0:0.05*%pi:2*%pi]';<br>
f = scf(1);<br>
driver('PNG');<br>
xinit('gridtest.png');<br>
plot2d(x, sin(x))<br>
xgrid()<br>
xend();<br>
driver('X11');<br>
<br>
it was OK!<br>
<br>
Regards /Stefan<br>
<br>
</blockquote>
And, of course, thank you!<br>
<br>
Regards /Stefan<br>
<br>
</blockquote>
So, Calixte, it was not the graphics driver, was it? Shall I report<br>
a bug?<br>
<br>
Regards /Stefan<br>
</blockquote>
<br>
<br>
</blockquote>
<br></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/<u></u>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Eduardo Torrecillas<br>AER-09
</div>