xs2fig — send graphics to a FIG file.
xs2fig(win_num, file_name [,orientation]) xs2fig(fig, file_name [,orientation])
integer, id of the figure to export.
handle of the figure to export.
string, name of the exported file.
optional character, with possible values 'portrait' or 'landscape'. The default value is 'portrait'.