update japanese translation of core module.
[scilab.git] / scilab / modules / graphics / help / ja_JP / polygon / xpoly.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6
7  * Copyright (C) ENPC - Jean-Philippe Chancelier
8
9  * 
10
11  * This file must be used under the terms of the CeCILL.
12
13  * This source file is licensed as described in the file COPYING, which
14
15  * you should have received as part of this distribution.  The terms
16
17  * are also available at    
18
19  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
20
21  *
22
23  -->
24
25 <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="ja" xml:id="xpoly">
26     
27     <refnamediv>
28         
29         <refname>xpoly</refname>
30         
31         <refpurpose>ポリラインまたはポリゴンを描画する</refpurpose>
32         
33     </refnamediv>
34     
35     <refsynopsisdiv>
36         
37         <title>呼び出し手順</title>
38         
39         <synopsis>xpoly(xv,yv [,dtype [,close]])</synopsis>
40         
41     </refsynopsisdiv>
42     
43     <refsection>
44         
45         <title>引数</title>
46         
47         <variablelist>
48             
49             <varlistentry>
50                 
51                 <term>xv,yv</term>
52                 
53                 <listitem>
54                     
55                     <para>同じ大きさの行列 (ポリラインの点).</para>
56                     
57                 </listitem>
58                 
59             </varlistentry>
60             
61             <varlistentry>
62                 
63                 <term>dtype</term>
64                 
65                 <listitem>
66                     
67                     <para>文字列 (描画形式). デフォルト値は "lines".</para>
68                     
69                 </listitem>
70                 
71             </varlistentry>
72             
73             <varlistentry>
74                 
75                 <term>close</term>
76                 
77                 <listitem>
78                     
79                     <para>整数. close=1の場合, ポリラインは閉じられます; デフォルト値は
80                         
81                         0です.
82                         
83                     </para>
84                     
85                 </listitem>
86                 
87             </varlistentry>
88             
89         </variablelist>
90         
91     </refsection>
92     
93     <refsection>
94         
95         <title>説明</title>
96         
97         <para>
98             
99             <literal>xpoly</literal> は座標<literal>xv</literal> および<literal>yv</literal>の
100             
101             ベクトルにより記述されるポリラインを1つ描画します.
102             
103             <literal>xv</literal> および
104             
105             <literal>yv</literal> が行列の場合,  これらは列を結合したベクトルとみなされます.
106             
107             <literal>dtype</literal> はカレントの線種を用いる場合には
108             
109             <literal>"lines"</literal>,ポリラインを描画する際に
110             
111             カレントのマーカを使用する場合には<literal>"marks"</literal>となります.
112             
113         </para>
114         
115     </refsection>
116     
117     <refsection>
118         
119         <title>例</title>
120         
121         <programlisting role="example"><![CDATA[ 
122
123 x=sin(2*%pi*(0:4)/5);
124
125 y=cos(2*%pi*(0:4)/5);
126
127
128
129 plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
130
131 xset("color",5)
132
133 xpoly(x,y,"lines",1) // デフォルトで閉じられます
134
135
136
137 e=gce(); // カレントのエンティティを取得 (直近に作成: ここではポリライン)
138
139 e.closed = 'off' // ポリラインはオープンされます
140
141  ]]></programlisting>
142         
143         <scilab:image>
144             
145             x=sin(2*%pi*(0:4)/5);
146             
147             y=cos(2*%pi*(0:4)/5);
148             
149             
150             
151             plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
152             
153             xpoly(x,y,"lines")
154             
155             e=gce();
156             
157             set(e,"foreground",5)
158             
159             e.closed = 'off'
160             
161             
162             
163         </scilab:image>
164         
165         <programlisting role="example"><![CDATA[
166
167     // 線ではなく記号を使用
168
169     plot2d(0,0,1,rect=[0,0,12,10], frameflag=3)
170
171     t=[0:4]*2*%pi/5;
172
173     x=5+5*cos(t);
174
175     y=5+5*sin(t);
176
177     xpoly(x,y,"marks")
178
179     e=gce();
180
181     set(e,"mark_style",2);
182
183     ]]></programlisting>
184         
185         <scilab:image>
186             
187             plot2d(0,0,1,rect=[0,0,12,10], frameflag=3)
188             
189             t=[0:4]*2*%pi/5;
190             
191             x=5+5*cos(t);
192             
193             y=5+5*sin(t);
194             
195             xpoly(x,y,"marks")
196             
197             e=gce();
198             
199             set(e,"mark_style",2);
200             
201         </scilab:image>
202          
203         
204     </refsection>
205     
206     <refsection role="see also">
207         
208         <title>参照</title>
209         
210         <simplelist type="inline">
211             
212             <member>
213                 
214                 <link linkend="xfpoly">xfpoly</link>
215                 
216             </member>
217             
218             <member>
219                 
220                 <link linkend="xfpolys">xfpolys</link>
221                 
222             </member>
223             
224             <member>
225                 
226                 <link linkend="xpolys">xpolys</link>
227                 
228             </member>
229             
230             <member>
231                 
232                 <link linkend="polyline_properties">polyline_properties</link>
233                 
234             </member>
235             
236         </simplelist>
237         
238     </refsection>
239     
240 </refentry>
241