Translation of help pages of graphic_export into Russian.
[scilab.git] / scilab / modules / graphic_export / help / ru_RU / xs2jpg.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="xs2jpg" xml:lang="ru">
14     <refnamediv>
15         <refname>xs2jpg</refname>
16         <refpurpose>экспорт графиков в JPG</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Последовательность вызова</title>
20         <synopsis>
21             xs2jpg(win_num, file_name [, compression_quality])
22             xs2jpg(fig, file_name [, compression_quality])
23         </synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Аргументы</title>
27         <variablelist>
28             <varlistentry>
29                 <term>win_num</term>
30                 <listitem>
31                     <para>
32                         целое число, идентификатор графического 
33                         окна для экспорта.
34                     </para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>fig</term>
39                 <listitem>
40                     <para>
41                         дескриптор графического окна для экспорта.
42                     </para>
43                 </listitem>
44             </varlistentry>
45             <varlistentry>
46                 <term>file_name</term>
47                 <listitem>
48                     <para>
49                         строковое значение, имя экспортируемого файла.
50                     </para>
51                 </listitem>
52             </varlistentry>
53             <varlistentry>
54                 <term>compression_quality</term>
55                 <listitem>
56                     <para>
57                         вещественный скаляр, число между 0 и 1 (наилучшее качество). По умолчанию качество сжатия установлено в 0,95.
58                     </para>
59                     <note>
60                         Аргумент появился в Scilab 5.3.2.
61                     </note>
62                 </listitem>
63             </varlistentry>
64         </variablelist>
65     </refsection>
66     <refsection>
67         <title>Описание</title>
68         <para>
69             Функция <function>xs2jpg</function> экспортирует отображение графического окна в JPG-файл.
70         </para>
71     </refsection>
72     <refsection>
73         <title>Примеры</title>
74         <programlisting role="example"><![CDATA[ 
75 scf(0);
76 plot2d();
77 // экспорт в JPG// экспорт в 
78 xs2jpg(0,'foo.jpg');
79 xs2jpg(gcf(),'foo.jpg');
80 xs2jpg(0,'foo_0.jpg', 0); // плохое качество
81 xs2jpg(gcf(),'foo_1.jpg', 1); // наилучшее качество
82  ]]></programlisting>
83     </refsection>
84     <refsection role="see also">
85         <title>Смотрите также</title>
86         <simplelist type="inline">
87             <member>
88                 <link linkend="toprint">toprint</link>
89             </member>
90             <member>
91                 <link linkend="printfigure">printfigure</link>
92             </member>
93             <member>
94                 <link linkend="xs2bmp">xs2bmp</link>
95             </member>
96             <member>
97                 <link linkend="xs2gif">xs2gif</link>
98             </member>
99             <member>
100                 <link linkend="xs2png">xs2png</link>
101             </member>
102             <member>
103                 <link linkend="xs2ppm">xs2ppm</link>
104             </member>
105             <member>
106                 <link linkend="xs2eps">xs2eps</link>
107             </member>
108             <member>
109                 <link linkend="xs2pdf">xs2pdf</link>
110             </member>
111             <member>
112                 <link linkend="xs2svg">xs2svg</link>
113             </member>
114             <member>
115                 <link linkend="xs2ps">xs2ps</link>
116             </member>
117             <member>
118                 <link linkend="xs2emf">xs2emf</link>
119             </member>
120         </simplelist>
121     </refsection>
122 </refentry>