1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
<?xml version="1.0" encoding="UTF-8"?>
<refentry version="5.0-subset Scilab" xml:id="hist3d" xml:lang="fr"
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">
<info>
<pubdate>$LastChangedDate: 2008-03-26 09:50:39 +0100 (mer., 26 mars 2008)
$</pubdate>
</info>
<refnamediv>
<refname>hist3d</refname>
<refpurpose>représentation 3D d'un histogramme</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Séquence d'appel</title>
<synopsis>hist3d(f,[theta,alpha,leg,flag,ebox])
hist3d(f,<opt_args>)
hist3d(list(f,x,y),[theta,alpha,leg,flag,ebox])
hist3d(list(f,x,y),<opt_args>)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Paramètres</title>
<variablelist>
<varlistentry>
<term>mtx</term>
<listitem>
<para>matrice de taille (m,n) définissant l'histogramme
<literal>mtx(i,j)=F(x(i),y(j))</literal>, où <literal>x</literal> et
<literal>y</literal> sont considérés égaux à <literal>0:m</literal>
et <literal>0:n</literal>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>list(mtx,x,y)</term>
<listitem>
<para>où mtx est une matrice de taille (m,n) définissant
l'histogramme <literal>mtx(i,j)=F(x(i),y(j))</literal>, avec
<literal>x</literal> et <literal>y</literal> deux vecteurs de
tailles respectives (1,m+1) et (1,n+1).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><opt_args></term>
<listitem>
<para>Représente une séquence de la forme <literal>clé1=valeur1,
clé2=valeur2</literal>,... où <literal>clé1,
clé2,...</literal> peut être n'importe quel paramètre optionnel de <link linkend="plot3d">plot3d</link>
(<literal>theta,alpha,leg,flag,ebox</literal>).</para>
</listitem>
</varlistentry>
<varlistentry>
<term>theta,alpha,leg,flag,ebox</term>
<listitem>
<para>voir <link linkend="plot3d">plot3d</link>.</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para><literal>hist3d</literal> représente un histogramme 2D dans
l'espace. Les valeurs sont associées aux intervalles <literal>[x(i)
x(i+1)[ X [y(i) y(i+1)[</literal>.</para>
<para>Taper <literal>hist3d()</literal> pour voir une démonstration de la
fonction.</para>
</refsection>
<refsection>
<title>Exemples</title>
<programlisting role="example"><![CDATA[
hist3d(10*rand(10,10));
Z = zeros(100,5);
A = abs(rand(40,5));
Z(1:40,:) = A;
scf();
hist3d(Z);
Index = find(Z==0);
Z(Index) = %nan;
scf();
hist3d(Z);
A = abs(rand(10,5));
Z(91:100,:) = A;
scf();
hist3d(Z);
]]></programlisting>
</refsection>
<refsection>
<title>Voir Aussi</title>
<simplelist type="inline">
<member>
<link linkend="histplot">histplot</link>
</member>
<member>
<link linkend="plot3d">plot3d</link>
</member>
</simplelist>
</refsection>
<refsection>
<title>Auteurs</title>
<para>Steer S. & JPhilippe C.</para>
</refsection>
</refentry>
|