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.
Examples
//simple example
scf(0)
plot2d()
xs2fig(0,'foo.fig')