912335e1adbbc654fb74e085d3fa94018e9286b1
[scilab.git] / scilab / modules / graphic_export / help / en_US / xend.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) ENPC - Jean-Philippe Chancelier
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="xend">
14     <refnamediv>
15         <refname>xend</refname>
16         <refpurpose>close a graphics export session</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Calling Sequence</title>
20         <synopsis>xend()</synopsis>
21     </refsynopsisdiv>
22     <refsection>
23         <title>Description</title>
24         <para>
25             <function>xend</function> is used to close a graphics session. When working on the export of a graphic, <function>xend</function> closes the
26             file which was opened by <function>xinit</function>.
27         </para>
28     </refsection>
29     <refsection>
30         <title>Examples</title>
31         <programlisting role="example"><![CDATA[ 
32 current_driver = driver()
33 driver("Pos")
34 xinit("foo.ps")
35 plot2d()
36 xend()
37 driver(current_driver)
38  ]]></programlisting>
39     </refsection>
40     <refsection role="see also">
41         <title>See Also</title>
42         <simplelist type="inline">
43             <member>
44                 <link linkend="driver">driver</link>
45             </member>
46             <member>
47                 <link linkend="xinit">xinit</link>
48             </member>
49         </simplelist>
50     </refsection>
51 </refentry>