8901478f62416472b02a5479401074f6552e1ac9
[scilab.git] / scilab / modules / graphics / help / ja_JP / geometric_shapes / xfarcs.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" version="5.0-subset Scilab" xml:lang="ja" xml:id="xfarcs">
14     <refnamediv>
15         <refname>xfarcs</refname>
16         <refpurpose>楕円の集合の一部を塗りつぶす</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>xfarcs(arcs,[style])</synopsis>
21     </refsynopsisdiv>
22     <refsection>
23         <title>引数</title>
24         <variablelist>
25             <varlistentry>
26                 <term>arcs</term>
27                 <listitem>
28                     <para>楕円を記述する大きさ (6,n) の行列.</para>
29                 </listitem>
30             </varlistentry>
31             <varlistentry>
32                 <term>style</term>
33                 <listitem>
34                     <para>使用する色を指定する大きさnの行ベクトル.</para>
35                 </listitem>
36             </varlistentry>
37         </variablelist>
38     </refsection>
39     <refsection>
40         <title>説明</title>
41         <para>
42             <literal>xarcs</literal> は<literal>arcs</literal>で記述された楕円の集合の
43             一部を塗りつぶします: 
44             <literal>arcs=[x y w h a1 a2;x y w h a1 a2;...]'</literal> ただし,
45             各楕円は6個のパラメータ <literal>(x,y,w,h,a1,a2)</literal>
46             (<literal>xfarc</literal>参照)により定義されます.
47         </para>
48         <para>
49             <literal>x, y, w, h</literal> パラメータはユーザ座標で指定されます.
50         </para>
51         <para>
52             <literal>style(i)</literal>は<literal>i</literal>番の楕円を
53             塗りつぶす色番号を指定します.
54         </para>
55         <para>a2が360*64に等しい場合, 完全な円が描画されます.</para>
56     </refsection>
57     <refsection>
58         <title>例</title>
59         <scilab:image>
60             plot2d(0,0,-1,"031"," ",[-1,-1,1,1])
61             arcs=[-1.0 0.0 0.5; 
62             1.0 0.0 0.5; 
63             0.5 1.0 0.5; 
64             0.5 0.5 1.0; 
65             0.0 0.0 0.0; 
66             180*64 360*64 90*64]; 
67             xfarcs(arcs,[1,2,3])
68         </scilab:image>
69     </refsection>
70     <refsection>
71         <title>例</title>
72         <programlisting role="example"><![CDATA[ 
73 plot2d(0,0,-1,"031"," ",[-1,-1,1,1])
74 arcs=[-1.0 0.0 0.5; // 左上 x
75        1.0 0.0 0.5; // 左上 y
76        0.5 1.0 0.5; // 幅
77        0.5 0.5 1.0; // 高さ
78        0.0 0.0 0.0; // 角度 1
79        180*64 360*64 90*64]; // 角度 2
80 xfarcs(arcs,[1,2,3])
81  ]]></programlisting>
82     </refsection>
83     <refsection role="see also">
84         <title>参照</title>
85         <simplelist type="inline">
86             <member>
87                 <link linkend="xarc">xarc</link>
88             </member>
89             <member>
90                 <link linkend="xfarc">xfarc</link>
91             </member>
92             <member>
93                 <link linkend="xfarc">xfarc</link>
94             </member>
95         </simplelist>
96     </refsection>
97 </refentry>