Fixed some typos in help pages for graphic_export (en_US).
[scilab.git] / scilab / modules / graphic_export / help / en_US / xs2svg.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA - Sylvestre Koumar
5  * 
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at    
10  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11  *
12  -->
13 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2svg" xml:lang="en">
14     <refnamediv>
15         <refname>xs2svg</refname>
16         <refpurpose>export graphics to SVG</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Calling Sequence</title>
20         <synopsis>
21             xs2svg(win_num, file_name [,orientation])
22             xs2svg(fig, file_name [,orientation])
23         </synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Arguments</title>
27         <variablelist>
28             <varlistentry>
29                 <term>win_num</term>
30                 <listitem>
31                     <para>
32                         an integer, ID of the figure to export.
33                     </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>fig</term>
38                 <listitem>
39                     <para>handle of the figure to export.</para>
40                 </listitem>
41             </varlistentry>
42             <varlistentry>
43                 <term>file_name</term>
44                 <listitem>
45                     <para>a string, name of the exported file.</para>
46                 </listitem>
47             </varlistentry>
48             <varlistentry>
49                 <term>orientation</term>
50                 <listitem>
51                     <para>
52                         an optional string, with possible values 
53                         <literal>'portrait'</literal> or
54                         <literal>'landscape'</literal>. The default 
55                         value is <literal>'portrait'</literal>.
56                     </para>
57                 </listitem>
58             </varlistentry>
59         </variablelist>
60     </refsection>
61     <refsection>
62         <title>Description</title>
63         <para>
64             <function>xs2svg</function> exports the display of a graphic window into a SVG file.
65         </para>
66     </refsection>
67     <refsection>
68         <title>Examples</title>
69         <programlisting role="example"><![CDATA[ 
70 scf(0)
71 plot2d()
72 //SVG export
73 xs2svg(0,'foo.svg')
74 xs2svg(gcf(),'foo.svg');
75  ]]></programlisting>
76     </refsection>
77     <refsection role="see also">
78         <title>See Also</title>
79         <simplelist type="inline">
80             <member>
81                 <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link>
82             </member>
83             <member>
84                 <link linkend="toprint">toprint</link>
85             </member>
86             <member>
87                 <link linkend="printfigure">printfigure</link>
88             </member>
89             <member>
90                 <link linkend="xs2bmp">xs2bmp</link>
91             </member>
92             <member>
93                 <link linkend="xs2gif">xs2gif</link>
94             </member>
95             <member>
96                 <link linkend="xs2jpg">xs2jpg</link>
97             </member>
98             <member>
99                 <link linkend="xs2png">xs2png</link>
100             </member>
101             <member>
102                 <link linkend="xs2ppm">xs2ppm</link>
103             </member>
104             <member>
105                 <link linkend="xs2eps">xs2eps</link>
106             </member>
107             <member>
108                 <link linkend="xs2pdf">xs2pdf</link>
109             </member>
110             <member>
111                 <link linkend="xs2ps">xs2ps</link>
112             </member>
113             <member>
114                 <link linkend="xs2emf">xs2emf</link>
115             </member>
116         </simplelist>
117     </refsection>
118 </refentry>