isoview('on'|'off') missed switching .cube_scaling='off'|'on'
[scilab.git] / scilab / modules / graphics / help / pt_BR / 3d_plot / hist3d.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 - Serge Steer
5  * Copyright (C) ENPC - Jean-Philippe Chancelier
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
18           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
19           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
20           xmlns:scilab="http://www.scilab.org" xml:id="hist3d" xml:lang="pt">
21     <refnamediv>
22         <refname>hist3d</refname>
23         <refpurpose>representação 3d de um histograma</refpurpose>
24     </refnamediv>
25     <refsynopsisdiv>
26         <title>Seqüência de Chamamento</title>
27         <synopsis>hist3d(mtx,[theta,alpha,leg,flag,ebox])
28             hist3d(mtx,&lt;opt_args&gt;)
29             hist3d(list(mtx,x,y),[theta,alpha,leg,flag,ebox])
30             hist3d(list(mtx,x,y),&lt;opt_args&gt;)
31         </synopsis>
32     </refsynopsisdiv>
33     <refsection>
34         <title>Parâmetros</title>
35         <variablelist>
36             <varlistentry>
37                 <term>mtx</term>
38                 <listitem>
39                     <para>matriz de tamanho (m,n) definindo o histograma
40                         <literal>mtx(i,j)=F(x(i),y(j))</literal>, onde <literal>x</literal>
41                         e <literal>y</literal> asão tomados como <literal>0:m</literal> e
42                         <literal>0:n</literal>.
43                     </para>
44                 </listitem>
45             </varlistentry>
46             <varlistentry>
47                 <term>list(mtx,x,y)</term>
48                 <listitem>
49                     <para>onde f é uma matriz de tamanho (m,n) definindo o histograma
50                         <literal>mtx(i,j)=F(x(i),y(j))</literal>, com vetores
51                         <literal>x</literal> e <literal>y</literal> de tamanho (1,n+1) e
52                         (1,m+1).
53                     </para>
54                 </listitem>
55             </varlistentry>
56             <varlistentry>
57                 <term>theta,alpha,leg,flag,ebox</term>
58                 <listitem>
59                     <para>
60                         ver <literal>plot3d</literal>.
61                     </para>
62                 </listitem>
63             </varlistentry>
64         </variablelist>
65     </refsection>
66     <refsection>
67         <title>Descrição</title>
68         <para>
69             <literal>hist3d</literal> representa um histograma 2d como um esboço
70             3d. Os valores são associados aos intervalos <literal>[x(i) x(i+1)[ X
71                 [y(i) y(i+1)[
72             </literal>
73             .
74         </para>
75         <para>
76             Entre com o comando <literal>hist3d()</literal> para visualizar uma
77             demonstração.
78         </para>
79     </refsection>
80     <refsection>
81         <title>Exemplos</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>
149         <title>Ver Também</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>