0fc2bc46445f2c75671a564fc328bbfc16c4bf04
[scilab.git] / scilab / modules / graphic_export / help / pt_BR / 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 version="5.0-subset Scilab" xml:id="xs2svg" xml:lang="en"
14           xmlns="http://docbook.org/ns/docbook"
15           xmlns:xlink="http://www.w3.org/1999/xlink"
16           xmlns:svg="http://www.w3.org/2000/svg"
17           xmlns:ns5="http://www.w3.org/1999/xhtml"
18           xmlns:mml="http://www.w3.org/1998/Math/MathML"
19           xmlns:db="http://docbook.org/ns/docbook">
20   <info>
21     <pubdate>$LastChangedDate$</pubdate>
22   </info>
23
24   <refnamediv>
25     <refname>xs2svg</refname>
26
27     <refpurpose>Salva gráficos em um arquivo SVG</refpurpose>
28   </refnamediv>
29
30   <refsynopsisdiv>
31     <title>Seqüência de Chamamento</title>
32
33     <synopsis>xs2svg(win_num,filen [,orientation])</synopsis>
34   </refsynopsisdiv>
35
36   <refsection>
37     <title>Parâmetros</title>
38
39     <variablelist>
40       <varlistentry>
41         <term>win_num</term>
42
43         <listitem>
44           <para>vetor de inteiros ou escalar inteiro </para>
45         </listitem>
46       </varlistentry>
47
48       <varlistentry>
49         <term>filen</term>
50
51         <listitem>
52           <para>string, nome do arquivo </para>
53         </listitem>
54       </varlistentry>
55
56       <varlistentry>
57         <term>orientation</term>
58
59         <listitem>
60           <para>caractere opcional, com possíveis valores 'p' (retrato) ou 'l'
61           (paisagem). O valor padrão é 'p'</para>
62         </listitem>
63       </varlistentry>
64     </variablelist>
65   </refsection>
66
67   <refsection>
68     <title>Descrição</title>
69
70     <para><literal>xs2svg</literal> salva os gráficos gravados da janela
71     <literal>win_num</literal> em um arquivo <literal>filen</literal> em
72     sintaxe Postscript. Note que <literal>filen</literal> não deve ter
73     extensão.</para>
74   </refsection>
75
76   <refsection>
77     <title>Exemplos</title>
78
79     <programlisting role="example"><![CDATA[ 
80 scf(0)
81 plot2d()
82 //exportando para SVG
83 filename='foo.svg'
84 xs2svg(0,filename);
85  ]]></programlisting>
86   </refsection>
87
88   <refsection>
89     <title>Ver Também</title>
90
91     <simplelist type="inline">
92       <member><link linkend="set_posfig_dim">set_posfig_dim</link></member>
93
94       <member><link linkend="toprint">toprint</link></member>
95
96       <member><link linkend="printfigure">printfigure</link></member>
97
98       <member><link linkend="xs2bmp">xs2bmp</link></member>
99
100       <member><link linkend="xs2gif">xs2gif</link></member>
101
102       <member><link linkend="xs2jpg">xs2jpg</link></member>
103
104       <member><link linkend="xs2png">xs2png</link></member>
105
106       <member><link linkend="xs2ppm">xs2ppm</link></member>
107
108       <member><link linkend="xs2eps">xs2eps</link></member>
109
110       <member><link linkend="xs2pdf">xs2pdf</link></member>
111
112       <member><link linkend="xs2ps">xs2ps</link></member>
113
114       <member><link linkend="xs2fig">xs2fig</link></member>
115
116       <member><link linkend="xs2emf">xs2emf</link></member>
117     </simplelist>
118   </refsection>
119 </refentry>