Fixed some typos in help pages for graphic_export (en_US).
[scilab.git] / scilab / modules / graphic_export / help / en_US / xs2eps.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:ns4="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="xs2eps" xml:lang="en">
14     <refnamediv>
15         <refname>xs2eps</refname>
16         <refpurpose>export graphics to EPS</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Calling Sequence</title>
20         <synopsis>
21             xs2eps(win_num, file_name [,orientation])
22             xs2eps(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>an integer, ID of the figure to export.</para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>fig</term>
36                 <listitem>
37                     <para>handle of the figure to export.</para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>file_name</term>
42                 <listitem>
43                     <para>a string, name of the exported file.</para>
44                 </listitem>
45             </varlistentry>
46             <varlistentry>
47                 <term>orientation</term>
48                 <listitem>
49                     <para>
50                         an optional string, with possible values <literal>'portrait'</literal> or
51                         <literal>'landscape'</literal>. The default value is <literal>'portrait'</literal>.
52                     </para>
53                 </listitem>
54             </varlistentry>
55         </variablelist>
56     </refsection>
57     <refsection>
58         <title>Description</title>
59         <para>
60             <function>xs2eps</function> exports the display of a 
61             graphic window into a complete Encapsulated PostScript file.
62         </para>
63     </refsection>
64     <refsection>
65         <title>Examples</title>
66         <programlisting role="example"><![CDATA[ 
67 scf(0)
68 plot2d()
69 //EPS export
70 xs2eps(0,'foo.eps')
71 xs2eps(gcf(),'foo.eps')
72  ]]></programlisting>
73     </refsection>
74     <refsection role="see also">
75         <title>See Also</title>
76         <simplelist type="inline">
77             <member>
78                 <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link>
79             </member>
80             <member>
81                 <link linkend="toprint">toprint</link>
82             </member>
83             <member>
84                 <link linkend="printfigure">printfigure</link>
85             </member>
86             <member>
87                 <link linkend="xs2bmp">xs2bmp</link>
88             </member>
89             <member>
90                 <link linkend="xs2gif">xs2gif</link>
91             </member>
92             <member>
93                 <link linkend="xs2jpg">xs2jpg</link>
94             </member>
95             <member>
96                 <link linkend="xs2png">xs2png</link>
97             </member>
98             <member>
99                 <link linkend="xs2ppm">xs2ppm</link>
100             </member>
101             <member>
102                 <link linkend="xs2pdf">xs2pdf</link>
103             </member>
104             <member>
105                 <link linkend="xs2svg">xs2svg</link>
106             </member>
107             <member>
108                 <link linkend="xs2ps">xs2ps</link>
109             </member>
110             <member>
111                 <link linkend="xs2emf">xs2emf</link>
112             </member>
113         </simplelist>
114     </refsection>
115 </refentry>