Name

xs2eps — save graphics to a Postscript file.

Calling Sequence

xs2eps(win_num,filen [,orientation])

Parameters

win_num

integer scalar or vector .

filen

string, file name.

orientation

optional character, with possible values 'p' (portrait) or 'l' (landscape). The default value is 'p'.

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.

Examples

 
scf(0);
plot2d();
//EPS export
filename='foo.eps';
xs2eps(0,filename);
  

See Also

set_posfig_dim, toprint, printfigure, xs2bmp, xs2gif, xs2jpg, xs2png, xs2ppm, xs2pdf, xs2svg, xs2ps, xs2fig, xs2emf