f2e5100eb6708113aa73a449c50171e30904f0bd
[scilab.git] / scilab / modules / graphics / help / ja_JP / 3d_plot / hist3d.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) INRIA - Serge Steer
8
9  * Copyright (C) ENPC - Jean-Philippe Chancelier
10
11  *
12
13
14  * Copyright (C) 2012 - 2016 - Scilab Enterprises
15  *
16  * This file is hereby licensed under the terms of the GNU GPL v2.0,
17  * pursuant to article 5.3.4 of the CeCILL v.2.1.
18  * This file was originally licensed under the terms of the CeCILL v2.1,
19  * and continues to be available under such terms.
20  * For more information, see the COPYING file which you should have received
21  * along with this program.
22
23  *
24
25  -->
26
27 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="hist3d" xml:lang="ja">
28
29     <refnamediv>
30
31         <refname>hist3d</refname>
32
33         <refpurpose>3次元ヒストグラム</refpurpose>
34
35     </refnamediv>
36
37     <refsynopsisdiv>
38
39         <title>呼び出し手順</title>
40
41         <synopsis>
42
43             hist3d(mtx,[theta,alpha,leg,flag,ebox])
44
45             hist3d(mtx,&lt;opt_args&gt;)
46
47             hist3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox])
48
49             hist3d(list(mtx,x,y),&lt;opt_args&gt;)
50
51         </synopsis>
52
53     </refsynopsisdiv>
54
55     <refsection>
56
57         <title>引数</title>
58
59         <variablelist>
60
61             <varlistentry>
62
63                 <term>mtx</term>
64
65                 <listitem>
66
67                     <para>大きさ (m,n) の行列で, ヒストグラム
68
69                         <literal>mtx(i,j)=F(x(i),y(j))</literal>を定義します. ただし, <literal>x</literal>
70
71                         および <literal>y</literal> は <literal>0:m</literal> および
72
73                         <literal>0:n</literal>の範囲とします.
74
75                     </para>
76
77                 </listitem>
78
79             </varlistentry>
80
81             <varlistentry>
82
83                 <term>list(mtx,x,y)</term>
84
85                 <listitem>
86
87                     <para>
88
89                         mtxは大きさ(m,n)の行列で,ヒストグラム<literal>mtx(i,j)=F(x(i),y(j))</literal>
90
91                         を定義します.<literal>x</literal>
92
93                         および <literal>y</literal> は, 大きさ (1,m+1) および (1,n+1)のベクトルです.
94
95                     </para>
96
97                 </listitem>
98
99             </varlistentry>
100
101             <varlistentry>
102
103                 <term>&lt;opt_args&gt;</term>
104
105                 <listitem>
106
107                     <para>
108
109                         一連の命令<literal>key1=value1,
110
111                             key2=value2
112
113                         </literal>
114
115                         ,...を定義します.ただし, <literal>key1</literal>,
116
117                         <literal>key2,...</literal> には以下のどれかを指定できます: theta,
118
119                         alpha,leg,flag,ebox.  <link linkend="plot3d">plot3d</link>を参照ください.
120
121                     </para>
122
123                 </listitem>
124
125             </varlistentry>
126
127             <varlistentry>
128
129                 <term>theta,alpha,leg,flag,ebox</term>
130
131                 <listitem>
132
133                     <para>
134
135                         <link linkend="plot3d">plot3d</link>を参照くださ.
136
137                     </para>
138
139                 </listitem>
140
141             </varlistentry>
142
143         </variablelist>
144
145     </refsection>
146
147     <refsection>
148
149         <title>説明</title>
150
151         <para>
152
153             <literal>hist3d</literal> は2次元ヒストグラムを3次元プロットとして
154
155             表します.この値は,間隔<literal>[x(i) x(i+1)[ X [y(i)
156
157                 y(i+1)[
158
159             </literal>
160
161             に関連します.
162
163         </para>
164
165         <para>
166
167             コマンド <literal>hist3d()</literal> を入力するとデモを参照できます.
168
169         </para>
170
171     </refsection>
172
173     <refsection>
174
175         <title>例</title>
176
177         <programlisting role="example"><![CDATA[
178
179         hist3d();
180
181  ]]></programlisting>
182
183         <scilab:image localized="true">hist3d();</scilab:image>
184
185         <programlisting role="example"><![CDATA[
186
187 hist3d(10*rand(10,10));
188
189  ]]></programlisting>
190
191         <scilab:image>hist3d(10*rand(10,10));</scilab:image>
192
193         <programlisting role="example"><![CDATA[
194
195 Z = zeros(100,5);
196
197 A = abs(rand(40,5));
198
199 Z(1:40,:) = A;
200
201 scf();
202
203 hist3d(Z);
204
205  ]]></programlisting>
206
207         <scilab:image>
208
209             Z = zeros(100,5);
210
211             A = abs(rand(40,5));
212
213             Z(1:40,:) = A;
214
215             scf();
216
217             hist3d(Z);
218
219         </scilab:image>
220
221         <programlisting role="example"><![CDATA[
222
223 Z = zeros(100,5);
224
225 A = abs(rand(40,5));
226
227 Z(1:40,:) = A;
228
229 Index = find(Z==0);
230
231 Z(Index) = %nan;
232
233 scf();
234
235 hist3d(Z);
236
237  ]]></programlisting>
238
239         <scilab:image>
240
241             Z = zeros(100,5);
242
243             A = abs(rand(40,5));
244
245             Z(1:40,:) = A;
246
247             Index = find(Z==0);
248
249             Z(Index) = %nan;
250
251             scf();
252
253             hist3d(Z);
254
255         </scilab:image>
256
257         <programlisting role="example"><![CDATA[
258
259 Z = zeros(100,5);
260
261 A = abs(rand(40,5));
262
263 Z(1:40,:) = A;
264
265 A = abs(rand(10,5));
266
267 Z(91:100,:) = A;
268
269 scf();
270
271 hist3d(Z);
272
273  ]]></programlisting>
274
275         <scilab:image>
276
277             Z = zeros(100,5);
278
279             A = abs(rand(40,5));
280
281             Z(1:40,:) = A;
282
283             A = abs(rand(10,5));
284
285             Z(91:100,:) = A;
286
287             scf();
288
289             hist3d(Z);
290
291         </scilab:image>
292
293     </refsection>
294
295     <refsection role="see also">
296
297         <title>参照</title>
298
299         <simplelist type="inline">
300
301             <member>
302
303                 <link linkend="histplot">histplot</link>
304
305             </member>
306
307             <member>
308
309                 <link linkend="plot3d">plot3d</link>
310
311             </member>
312
313         </simplelist>
314
315     </refsection>
316
317 </refentry>
318