isoview('on'|'off') missed switching .cube_scaling='off'|'on'
[scilab.git] / scilab / modules / graphics / help / fr_FR / 3d_plot / hist3d.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
4           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
5           xmlns:scilab="http://www.scilab.org" xml:id="hist3d" xml:lang="fr">
6     <refnamediv>
7         <refname>hist3d</refname>
8         <refpurpose>représentation 3D d'un histogramme</refpurpose>
9     </refnamediv>
10     <refsynopsisdiv>
11         <title>Séquence d'appel</title>
12         <synopsis>hist3d(mtx,[theta,alpha,leg,flag,ebox])
13             hist3d(mtx,&lt;opt_args&gt;)
14             hist3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox])
15             hist3d(list(mtx,x,y),&lt;opt_args&gt;)
16         </synopsis>
17     </refsynopsisdiv>
18     <refsection>
19         <title>Paramètres</title>
20         <variablelist>
21             <varlistentry>
22                 <term>mtx</term>
23                 <listitem>
24                     <para>matrice de taille (m,n) définissant l'histogramme
25                         <literal>mtx(i,j)=F(x(i),y(j))</literal>, où <literal>x</literal> et
26                         <literal>y</literal> sont considérés égaux à <literal>0:m</literal>
27                         et <literal>0:n</literal>.
28                     </para>
29                 </listitem>
30             </varlistentry>
31             <varlistentry>
32                 <term>list(mtx,x,y)</term>
33                 <listitem>
34                     <para>où mtx est une matrice de taille (m,n) définissant
35                         l'histogramme <literal>mtx(i,j)=F(x(i),y(j))</literal>, avec
36                         <literal>x</literal> et <literal>y</literal> deux vecteurs de
37                         tailles respectives (1,m+1) et (1,n+1).
38                     </para>
39                 </listitem>
40             </varlistentry>
41             <varlistentry>
42                 <term>&lt;opt_args&gt;</term>
43                 <listitem>
44                     <para>
45                         Représente une séquence de la forme <literal>clé1=valeur1,
46                             clé2=valeur2
47                         </literal>
48                         ,... où <literal>clé1,
49                             clé2,...
50                         </literal>
51                         peut être n'importe quel paramètre optionnel de <link linkend="plot3d">plot3d</link>
52                         (<literal>theta,alpha,leg,flag,ebox</literal>).
53                     </para>
54                 </listitem>
55             </varlistentry>
56             <varlistentry>
57                 <term>theta,alpha,leg,flag,ebox</term>
58                 <listitem>
59                     <para>
60                         voir <link linkend="plot3d">plot3d</link>.
61                     </para>
62                 </listitem>
63             </varlistentry>
64         </variablelist>
65     </refsection>
66     <refsection>
67         <title>Description</title>
68         <para>
69             <literal>hist3d</literal> représente un histogramme 2D dans
70             l'espace. Les valeurs sont associées aux intervalles <literal>[x(i)
71                 x(i+1)[ X [y(i) y(i+1)[
72             </literal>
73             .
74         </para>
75         <para>
76             Taper <literal>hist3d()</literal> pour voir une démonstration de la
77             fonction.
78         </para>
79     </refsection>
80     <refsection>
81         <title>Exemples</title>
82         <programlisting role="example"><![CDATA[
83         hist3d();
84  ]]></programlisting>
85         <scilab:image localized="true">hist3d();</scilab:image>
86         <programlisting role="example"><![CDATA[
87 hist3d(10*rand(10,10));
88  ]]></programlisting>
89         <scilab:image>hist3d(10*rand(10,10));</scilab:image>
90         <programlisting role="example"><![CDATA[
91 Z = zeros(100,5);
92 A = abs(rand(40,5));
93 Z(1:40,:) = A;
94 scf();
95 hist3d(Z);
96 isoview off
97  ]]></programlisting>
98         <scilab:image>
99             Z = zeros(100,5);
100             A = abs(rand(40,5));
101             Z(1:40,:) = A;
102             scf();
103             hist3d(Z);
104             isoview off
105         </scilab:image>
106         <programlisting role="example"><![CDATA[
107 Z = zeros(100,5);
108 A = abs(rand(40,5));
109 Z(1:40,:) = A;
110 Index = find(Z==0);
111 Z(Index) = %nan;
112 scf();
113 hist3d(Z);
114 isoview off
115  ]]></programlisting>
116         <scilab:image>
117             Z = zeros(100,5);
118             A = abs(rand(40,5));
119             Z(1:40,:) = A;
120             Index = find(Z==0);
121             Z(Index) = %nan;
122             scf();
123             hist3d(Z);
124             isoview off
125         </scilab:image>
126         <programlisting role="example"><![CDATA[
127 Z = zeros(100,5);
128 A = abs(rand(40,5));
129 Z(1:40,:) = A;
130 A = abs(rand(10,5));
131 Z(91:100,:) = A;
132 scf();
133 hist3d(Z);
134 isoview off
135  ]]></programlisting>
136         <scilab:image>
137             Z = zeros(100,5);
138             A = abs(rand(40,5));
139             Z(1:40,:) = A;
140             A = abs(rand(10,5));
141             Z(91:100,:) = A;
142             scf();
143             hist3d(Z);
144             isoview off
145             gca().rotation_angles = [30 50];
146         </scilab:image>
147     </refsection>
148     <refsection role="see also">
149         <title>Voir aussi</title>
150         <simplelist type="inline">
151             <member>
152                 <link linkend="histplot">histplot</link>
153             </member>
154             <member>
155                 <link linkend="plot3d">plot3d</link>
156             </member>
157         </simplelist>
158     </refsection>
159 </refentry>