Hi Stefan,

Few comments:
i) driver(...);xinit(...);...xend(); implies a vectorial export: all the scene is completly drawn vectorialy (so the graphic card driver is not implied in the draw) ii) xs2png(0,...): a memory dump is done and the bitmap is converted into PNG. The GC driver is called to retrieve the data and it seems that this kind of bug is typical to Ubuntu with free driver... the only workaround I know (for the moment ;)) is to switch to the proprietary driver.

Calixte

On 17/01/2014 00:42, Stefan Du Rietz wrote:
Hi Antoine,
are we supposed to reply above as earlier or not ;-(

When I did as you proposed:

x = [0:0.05*%pi:2*%pi]';
f = scf(1);
driver('PNG');
xinit('gridtest.png');
plot2d(x, sin(x))
xgrid()
xend();
driver('X11');

it was OK!

Regards /Stefan

And, of course, thank you!

Regards /Stefan

So, Calixte, it was not the graphics driver, was it? Shall I report a bug?

Regards /Stefan


--
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
http://www.scilab-enterprises.com

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to