a0dcdce604f9133e8075e9e57ac83fafb9fc5962
[scilab.git] / scilab / modules / graphics / help / ja_JP / polygon / xrpoly.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) INRIA
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="xrpoly">
14   <refnamediv>
15     <refname>xrpoly</refname>
16     <refpurpose>正多角形を描画する</refpurpose>
17   </refnamediv>
18   <refsynopsisdiv>
19     <title>呼び出し手順</title>
20     <synopsis>xrpoly(orig,n,r,[theta])</synopsis>
21   </refsynopsisdiv>
22   <refsection>
23     <title>引数</title>
24     <variablelist>
25       <varlistentry>
26         <term>orig</term>
27         <listitem>
28           <para>大きさ 2のベクトル.</para>
29         </listitem>
30       </varlistentry>
31       <varlistentry>
32         <term>n</term>
33         <listitem>
34           <para>整数, 辺の数.</para>
35         </listitem>
36       </varlistentry>
37       <varlistentry>
38         <term>r</term>
39         <listitem>
40           <para>実数スカラー.</para>
41         </listitem>
42       </varlistentry>
43       <varlistentry>
44         <term>theta</term>
45         <listitem>
46           <para>実数, 角度(単位:ラジアン); 0 がデフォルト値.</para>
47         </listitem>
48       </varlistentry>
49     </variablelist>
50   </refsection>
51   <refsection>
52     <title>説明</title>
53     <para>
54       <literal>xrpoly</literal> は,
55       点<literal>orig</literal>を中心とする
56       直径<literal>r</literal>の円に包含される
57       正<literal>n</literal>角形を描画します.
58       <literal>theta</literal> は回転角(単位:ラジアン)を指定します.
59       この関数はカレントのグラフィックスケールを使用します.
60     </para>
61   </refsection>
62   <refsection>
63     <title>例</title>
64     <scilab:image>
65       plot2d(0,0,-1,"012"," ",[0,0,10,10])
66       xrpoly([5,5],5,5)
67     </scilab:image>
68   </refsection>
69   <refsection>
70     <title>例</title>
71     <programlisting role="example"><![CDATA[ 
72 plot2d(0,0,-1,"012"," ",[0,0,10,10])
73 xrpoly([5,5],5,5)
74  ]]></programlisting>
75   </refsection>
76   <refsection role="see also">
77     <title>参照</title>
78     <simplelist type="inline">
79       <member>
80         <link linkend="xrect">xrect</link>
81       </member>
82     </simplelist>
83   </refsection>
84 </refentry>