Name

xs2svg — save graphics to a SVG file.

Calling Sequence

xs2svg(win_num,filen [,orientation])

Parameters

win_num

integer scalar or vector .

filen

string, file name.

orientation

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

Description

xs2svg saves the recorded graphics of the window win_num to file filen in SVG syntax. Note that filen must not have extension.

Examples

 
    scf(0)
    plot2d()
    //SVG export
    filename='foo.svg'
    xs2svg(0,filename);
  

See Also

set_posfig_dim, toprint, printfigure, xs2bmp, xs2gif, xs2jpg, xs2png, xs2ppm, xs2eps, xs2pdf, xs2ps, xs2fig, xs2emf