[scilab-Users] EPS image

Mathieu Dubois mathieu.dubois at limsi.fr
Thu Feb 3 11:41:46 CET 2011


Hello,

On 02/02/2011 07:25 PM, D.GH wrote:
> hello,
>
> I would like to save the image in eps. The following code does not
> work. I am running Windows XP and I use Scilab-5.3.
>
> ///////////////////////////////////////////////
> scf(0)
> x = linspace(-%pi,%pi,100);
> plot(x,sin(x),"Color",[0.15,0.47,0.99])
> %v0 = gca();
> %v0.box = "off";
>
> //xs2eps(0,'fig01.eps')
> xs2eps(gcf(),'fig01.eps')
> xdel(0)
>
> ///////////////////////////////////////////////
Such a simple example should work (and actually works for me under linux 
with proprietary drivers).

This suggest a driver problem. Try to update your graphics card driver.

In case it doesn't work I guess you should report a bug as mentioned in 
the error message.
> I have the following error message:
>
> PolylineLineDrawerJoGL::drawPolyline : Plus de mémoire disponible.
> DrawableObjectJoGL::endDrawing : Plus de mémoire disponible.
> xs2eps(gcf(),'fig01.eps')
>                            !--error 999
> A native error occurred during the drawing of the figure.
> Description: glGetError() returned the following error codes after a
> call to glGetString(): GL_INVALID_OPERATION
> Exception Name: javax.media.opengl.GLException
> Scilab's graphic may become unstable.
> Please report a bug on http://bugzilla.scilab.org/ with your example
> and the result of getdebuginfo().
> at line       9 of exec file called by :
> exec('D:\scilab-Kar\testm2.sci', -1)
>
> DrawableObjectJoGL::endDrawing : Plus de mémoire disponible.
>
> ***
> Thank you for your help
>
HTH,
Mathieu




More information about the users mailing list