Name

xs2fig — send graphics to a file in FIG syntax

Calling Sequence

xs2fig(win_num, filen [,orientation])

Parameters

win_num

integer scalar.

filen

string, file name.

orientation

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

Description

xs2fig sends the recorded graphics of the window win_num in the file filen in FIG format.

For format FIG we create an EPS file which will be convert into FIG format by pstoedit.

To export FIG files GPL Ghostscript (32bits) need to be installed.

Link to get GPL Ghostscript : http://www.ghostscript.com/awki

Examples

 
//simple example
scf(0);
plot2d();
xs2fig(0,'foo.fig');
  

See Also

xs2bmp, xs2gif, xs2jpg, xs2png, xs2ppm, xs2eps, xs2pdf, xs2svg, xs2ps, xs2emf

Authors

S.K