Export graphics to SVG.
xs2svg(win_num, file_name [,orientation])
xs2svg(fig, file_name [,orientation])
:win_num integer, id of the figure to export. : :fig handle of the figure to export. : :file_name string, name of the exported file. : :orientation 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.
`scf`_(0)
`plot2d`_()
//SVG export
xs2svg(0,'foo.svg')
xs2svg(`gcf`_(),'foo.svg');