Export graphics to SVG.
xs2svg(win_num, file_name [,orientation]) xs2svg(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'.
xs2svg exports the display of a graphic window into a SVG file.