Documentation ja_JP: fix the xlabel image generation
[scilab.git] / scilab / modules / graphics / help / ja_JP / annotation / xlabel.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) DIGITEO - 2011 - Allan CORNET
5  * Copyright (C) 2016 - Samuel GOUGEON
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="xlabel" xml:lang="ja">
17     <refnamediv>
18         <refname>xlabel</refname>
19         <refpurpose>x軸ラベルを付加する</refpurpose>
20     </refnamediv>
21     <refnamediv xml:id="ylabel">
22         <refname>ylabel</refname>
23         <refpurpose>y軸ラベルを付加する</refpurpose>
24     </refnamediv>
25     <refnamediv xml:id="zlabel">
26         <refname>zlabel</refname>
27         <refpurpose>z軸ラベルを付加する</refpurpose>
28     </refnamediv>
29     <refsynopsisdiv>
30         <title>呼び出し手順</title>
31         <synopsis>
32             xlabel([axes_handle], label, [property_name, property_value,...])
33             ylabel([axes_handle], label, [property_name, property_value,...])
34             zlabel([axes_handle], label, [property_name, property_value,...])
35         </synopsis>
36     </refsynopsisdiv>
37     <refsection role="parameters">
38         <title>引数</title>
39         <variablelist>
40             <varlistentry>
41                 <term>label</term>
42                 <listitem>
43                     <para>文字列, ラベルの値を有する</para>
44                 </listitem>
45             </varlistentry>
46             <varlistentry>
47                 <term>axes_handle</term>
48                 <listitem>
49                     <para>
50                         オプションのハンドルで, ラベルを設定する軸を指定します.
51                     </para>
52                 </listitem>
53             </varlistentry>
54             <varlistentry>
55                 <term>[property_name, property_value,...]</term>
56                 <listitem>
57                     <para>
58                         オプションの名前-値の組の並びで,
59                         (<link linkend="text_properties">ここ</link>に記述されたtextプロパティに関係する)
60                         ラベルのtextプロパティを指定します.
61                     </para>
62                     <para>利用可能なx-y-zラベルのプロパティを以下に示します:
63                         <itemizedlist>
64                             <listitem>
65                                 <para>
66                                     <literal>"visible"</literal>: <literal>"on"</literal> または <literal>"off"</literal>
67                                 </para>
68                             </listitem>
69                             <listitem>
70                                 <para>
71                                     <literal>"fontsize", "font_size"</literal>: フォントの大きさ (定数)
72                                 </para>
73                             </listitem>
74                             <listitem>
75                                 <para>
76                                     <literal>"fontname", "font_style"</literal>: 利用可能な10種類のフォント名
77                                     (大文字小文字を区別しない文字列または関係するid番号):
78                                     "courrier" | 0, "symbol" | 1, "times" | 2, "times italic" | 3,
79                                     "times bold" | 4, "times bold italic" | 5, "helvetica" | 6,
80                                     "helvetica italic" | 7, "helvetica bold" | 8, "helvetica bold italic" | 9.
81                                 </para>
82                             </listitem>
83                             <listitem>
84                                 <para>
85                                     <literal>"rotation", "font_angle"</literal>: 角度 (単位:deg) (定数)
86                                 </para>
87                             </listitem>
88                             <listitem>
89                                 <para>
90                                     <literal>"position"</literal>: ラベルの位置 (2次元ベクトル)
91                                 </para>
92                             </listitem>
93                             <listitem>
94                                 <para>
95                                     <literal>"color", "font_foreground"</literal>: フォントの色
96                                     (<literal>["red","green","blue","cyan","magenta","yellow",
97                                         "black","white"]
98                                     </literal>
99                                     ,または RGB行列の値から選んだ文字列の値)
100                                 </para>
101                             </listitem>
102                             <listitem>
103                                 <para>
104                                     <literal>"edgecolor", "foreground"</literal>:
105                                     テキスト周囲の線の色
106                                     (<literal>["red","green","blue","cyan","magenta","yellow",
107                                         "black","white"]
108                                     </literal>
109                                     ,または RGB行列の値から選んだ文字列の値)
110                                 </para>
111                             </listitem>
112                             <listitem>
113                                 <para>
114                                     <literal>"backgroundcolor", "background"</literal>:
115                                     テキスト周囲の背景色
116                                     (<literal>["red","green","blue","cyan","magenta","yellow",
117                                         "black","white"]
118                                     </literal>
119                                     ,または RGB行列の値から選んだ文字列の値)
120                                 </para>
121                             </listitem>
122                         </itemizedlist>
123                     </para>
124                 </listitem>
125             </varlistentry>
126         </variablelist>
127     </refsection>
128     <refsection role="description">
129         <title>説明</title>
130         <para>
131             xlabel, ylabel, zlabel は,それぞれ,x, y, およびz軸に
132             ラベルを付けるために使用します.
133         </para>
134         <para>
135             このラベルは2次元プロットでは対応する軸の下,
136             3次元プロットでは軸の横または下に表示されます.
137         </para>
138     </refsection>
139     <refsection role="examples">
140         <title>例</title>
141         <programlisting role="example"><![CDATA[
142 t = linspace(-2*%pi, 2*%pi, 30);
143
144 subplot(2,1,1);
145 plot(t, sin(t), "r");
146 xlabel("t", "fontsize", 2);
147 ylabel("sin(t)");
148 axes_handle = gca();
149
150 subplot(2,1,2);
151 plot(t, cos(t), "b");
152 xlabel("t", "fontsize", 2);
153 ylabel("cos(t)", "fontsize", 6, "color", "blue");
154
155 ylabel(axes_handle, "sin(t)", "fontsize", 6, "color", "red");
156 ]]>     </programlisting>
157         <scilab:image>
158             t = linspace(-2*%pi, 2*%pi, 50);
159             subplot(2,1,1);
160             plot(t, sin(t), "r");
161             xlabel("t", "fontsize", 2);
162             ylabel("sin(t)");
163             axes_handle = gca();
164             subplot(2,1,2);
165             plot(t, cos(t), "b");
166             xlabel("t", "fontsize", 2);
167             ylabel("cos(t)", "fontsize", 6, "color", "blue");
168             ylabel(axes_handle, "sin(t)", "fontsize", 6, "color", "red");
169         </scilab:image>
170     </refsection>
171     <refsection role="see also">
172         <title>参照</title>
173         <simplelist type="inline">
174             <member>
175                 <link linkend="label_properties">label_properties</link>
176             </member>
177             <member>
178                 <link linkend="xtitle">xtitle</link>
179             </member>
180             <member>
181                 <link linkend="title">title</link>
182             </member>
183         </simplelist>
184     </refsection>
185 </refentry>