Scilab Function
Last update : 23/10/2007

xs2eps - save graphics to a Postscript file.

Calling Sequence

xs2eps(win_num,filen [,colored] [,orientation])

Parameters

Description

xs2eps saves the recorded graphics of the window win_num to file filen in Postscript syntax. Note that filen must not have extension.

xs2eps produces a complete encapsulated Postscrip file. It simply calls xs2eps and then BEpsf .

This function works only if the selected driver is "Rec" in the window win_num or if the window is in "new style". The generated postscript file does not contrains the header part

Examples

 
    scf(0)
    plot2d()
    // Postscript export
    filename='foo'; // ! no extension
    xs2eps(0,filename)
  

See Also

set_posfig_dim ,   printing ,   xs2ps ,   xs2fig ,   xs2gif ,   xbasimp ,   xs2ppm ,