Help pages: repmat flipdim resize_matrix replot histc: fixes & improvements 00/17900/14
Nicolas [Thu, 10 Mar 2016 14:52:38 +0000 (15:52 +0100)]
Change-Id: Ib1890c154822fb71834cbfdbaf196a83e1df5dff

34 files changed:
scilab/modules/atoms/help/en_US/_atomsGettingStarted.xml
scilab/modules/elementary_functions/help/en_US/matrixmanipulation/flipdim.xml
scilab/modules/elementary_functions/help/en_US/matrixmanipulation/repmat.xml
scilab/modules/elementary_functions/help/en_US/matrixmanipulation/resize_matrix.xml
scilab/modules/elementary_functions/help/fr_FR/matrixmanipulation/flipdim.xml
scilab/modules/elementary_functions/help/fr_FR/matrixmanipulation/repmat.xml
scilab/modules/elementary_functions/help/fr_FR/matrixmanipulation/resize_matrix.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/repmat.xml
scilab/modules/elementary_functions/help/ja_JP/matrixmanipulation/resize_matrix.xml
scilab/modules/elementary_functions/help/ru_RU/matrixmanipulation/repmat.xml
scilab/modules/graphics/help/en_US/axes_operations/replot.xml
scilab/modules/graphics/help/fr_FR/axes_operations/replot.xml
scilab/modules/graphics/help/ja_JP/axes_operations/replot.xml
scilab/modules/graphics/help/pt_BR/axes_operations/replot.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/histc_en_US_2.png
scilab/modules/helptools/images/histc_en_US_3.png
scilab/modules/helptools/images/histc_en_US_4.png
scilab/modules/helptools/images/histc_fr_FR_2.png
scilab/modules/helptools/images/histc_fr_FR_3.png
scilab/modules/helptools/images/histc_fr_FR_4.png
scilab/modules/helptools/images/histc_ja_JP_2.png
scilab/modules/helptools/images/histc_ja_JP_3.png
scilab/modules/helptools/images/histc_ja_JP_4.png
scilab/modules/helptools/images/histc_pt_BR_2.png
scilab/modules/helptools/images/histc_pt_BR_3.png
scilab/modules/helptools/images/histc_pt_BR_4.png
scilab/modules/helptools/images/histc_ru_RU_2.png
scilab/modules/helptools/images/histc_ru_RU_3.png
scilab/modules/helptools/images/histc_ru_RU_4.png
scilab/modules/polynomials/help/fr_FR/coeff.xml
scilab/modules/statistics/help/en_US/descriptive_statistics/histc.xml
scilab/modules/statistics/help/fr_FR/descriptive_statistics/histc.xml
scilab/modules/statistics/help/ja_JP/descriptive_statistics/histc.xml

index b765855..e1009ff 100644 (file)
@@ -1,21 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- -->
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
+    *
+    * Copyright (C) 2012 - 2016 - Scilab Enterprises
+    *
+    * This file is hereby licensed under the terms of the GNU GPL v2.0,
+    * pursuant to article 5.3.4 of the CeCILL v.2.1.
+    * This file was originally licensed under the terms of the CeCILL v2.1,
+    * and continues to be available under such terms.
+    * For more information, see the COPYING file which you should have received
+    * along with this program.
+    *
+    -->
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" scilab:needs-examples="no" xml:id="_atomsGettingStarted">
     <refnamediv>
         <refname>Getting started</refname>
+        <refpurpose>A short introduction to install and load ATOMS modules in Scilab.</refpurpose>
     </refnamediv>
     <refsection>
         <title>Introduction</title>
             <itemizedlist>
                 <listitem>
                     <para>
-                        <emphasis role="strong">Configure ATOMS to display extra-information</emphasis>
-                        <programlisting><![CDATA[-->atomsSetConfig('Verbose','True');]]></programlisting>
+                        Configure ATOMS to display extra-information:
                     </para>
+                    <screen><![CDATA[-->atomsSetConfig('Verbose','True');]]></screen>
                 </listitem>
+                <para></para>
                 <listitem>
                     <para>
-                        <emphasis role="strong">List available modules</emphasis>
-                        <programlisting><![CDATA[
--->atomsList();
+                        List available modules
+                        <screen><![CDATA[-->atomsList();
 
-      ampl_toolbox - An interface to load .nl files created by AMPL
-       ANN_Toolbox - ANN Toolbox
-            conmin - A Scilab interface to the conmin optimization method
-             CUTEr - Testing environment for optimization and linear algebra solvers
-       dace_scilab - This is a conversion of the well known DACE kriging toolbox for Matlab.
-       dde_toolbox - Dynamic Data Exchange client for Scilab
-        HYDROGRv50 - Models and function for operational hydrology
-           lolimot - A fast neural network - LOcal LInear MOdel Tree
-      module_lycee - Scilab pour les lycées
-              NISP - Non Intrusive Spectral Projection
-           plotlib - "Matlab-like" Plotting library for Scilab
-          scilab2c - Translate Scilab code into C code
-            scipad - Scipad 7.20
-           simplex - This package contains the simplex optimization method
-   sndfile_toolbox - Read & write sound files
-           stixbox - Statistics toolbox for Scilab 5.2
-]]></programlisting>
+ampl_toolbox - An interface to load .nl files created by AMPL
+ANN_Toolbox - ANN Toolbox
+conmin - A Scilab interface to the conmin optimization method
+CUTEr - Testing environment for optimization and linear algebra solvers
+dace_scilab - This is a conversion of the well known DACE kriging toolbox for Matlab.
+dde_toolbox - Dynamic Data Exchange client for Scilab
+HYDROGRv50 - Models and function for operational hydrology
+lolimot - A fast neural network - LOcal LInear MOdel Tree
+module_lycee - Scilab pour les lycées
+NISP - Non Intrusive Spectral Projection
+plotlib - "Matlab-like" Plotting library for Scilab
+scilab2c - Translate Scilab code into C code
+scipad - Scipad 7.20
+simplex - This package contains the simplex optimization method
+sndfile_toolbox - Read & write sound files
+stixbox - Statistics toolbox for Scilab 5.2
+                            ]]></screen>
                     </para>
                 </listitem>
+                <para></para>
                 <listitem>
                     <para>
-                        <emphasis role="strong">Install a module</emphasis>
-                        Installing a module download and extract it.
-                        <programlisting><![CDATA[
--->atomsInstall('NISP');
-
-    NISP (2.1) will be installed in the 'allusers' section
-    Installing NISP (2.1) ... success
+                        Install a module, download it and extract it. The module is installed but it's not loaded in the scilab environment
+                        and its functionalities are not available yet.
+                        <screen><![CDATA[-->atomsInstall('NISP');
 
-]]></programlisting>
+NISP (2.1) will be installed in the 'allusers' section
+Installing NISP (2.1) ... success
+                            ]]></screen>
                     </para>
                 </listitem>
+                <para></para>
                 <listitem>
                     <para>
-                        <emphasis role="strong">Load a module</emphasis>
-                        The module is installed but it's not loaded in the scilab environment
-                        and its functionalities are not available yet.
-                    </para>
-                    <para>
-                        <inlinemediaobject>
-                            <imageobject>
-                                <imagedata fileref="../../images/icons/16x16/status/dialog-information.png"/>
-                            </imageobject>
-                        </inlinemediaobject>
-                        By default, a module is added to the list of modules to load at Scilab
-                        start when it's installed.
-                        <emphasis>
-                            (&gt;&gt; More information on the autoload
-                            system :
-                            <simplelist type="inline">
-                                <member>
-                                    <link linkend="atomsAutoloadList">atomsAutoloadList</link>
-                                </member>
-                                <member>
-                                    <link linkend="atomsAutoloadAdd">atomsAutoloadAdd</link>
-                                </member>
-                                <member>
-                                    <link linkend="atomsAutoloadDel">atomsAutoloadDel</link>
-                                </member>
-                            </simplelist>
-                            ).
-                        </emphasis>
-                    </para>
-                    <para>
-                        <programlisting><![CDATA[
--->atomsLoad('NISP');
+                        Load a module.
+                        <tip>
+                            By default, a module is added to the list of modules to load at Scilab
+                            start when it's installed.
+                        </tip>
+                        <screen><![CDATA[-->atomsLoad('NISP');
 
-    Start NISP Toolbox
-      Load gateways
-      Load help
-      Load demos
-]]></programlisting>
+Start NISP Toolbox
+Load gateways
+Load help
+Load demos
+                                ]]></screen>
                     </para>
                 </listitem>
+                <para></para>
                 <listitem>
                     <para>
-                        <emphasis role="strong">Remove a module:</emphasis>
-                        <programlisting><![CDATA[
--->atomsRemove NISP
+                        Remove a module:
+                        <screen><![CDATA[-->atomsRemove NISP
 
-    NISP (2.1) will be removed from the 'allusers' section
-    the package NISP (2.1) is currently loaded, It will removed at next Scilab restart
-]]></programlisting>
+NISP (2.1) will be removed from the 'allusers' section
+the package NISP (2.1) is currently loaded, It will removed at next Scilab restart
+]]></screen>
                     </para>
                 </listitem>
             </itemizedlist>
         </para>
     </refsection>
+    <refsection>
+        <title>See Also</title>
+        <para>
+            More information on the autoload
+            system :
+            <simplelist type="inline">
+                <member>
+                    <link linkend="atomsAutoloadList">atomsAutoloadList</link>
+                </member>
+                <member>
+                    <link linkend="atomsAutoloadAdd">atomsAutoloadAdd</link>
+                </member>
+                <member>
+                    <link linkend="atomsAutoloadDel">atomsAutoloadDel</link>
+                </member>
+            </simplelist>
+        </para>
+    </refsection>
     <!-- ===================================================================== -->
     <!-- Authors -->
     <!-- ===================================================================== -->
index 11bbf4b..7968f93 100644 (file)
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="flipdim" xml:lang="en">
     <refnamediv>
         <refname>flipdim</refname>
-        <refpurpose>flip x block components along a given dimension</refpurpose>
+        <refpurpose>reverses the order of (blocs of) rows, columns, pages.. of a matrix or hypermatrix</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
         <synopsis>y = flipdim(x, dim [,sb])</synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
@@ -46,7 +46,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             Given <literal>x</literal>, a scalar/vector/matrix/hypermatrix of any type and
@@ -61,7 +61,7 @@
             (<literal>dim=1</literal>) or <literal>size(x,1)*sb</literal> (<literal>dim=2</literal>).
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
 // Example 1: flip x components along the first dimension
@@ -120,7 +120,7 @@ flipdim(X, 2, 6) // => [6 7 8 9 10 11   0 1 2 3 4 5]
 y = flipdim(x, 2, 5); // size(X) = [1 12] and sb=5 does not divide 12.
  ]]></programlisting>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index 182db04..2747185 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - INRIA - Serge Steer
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>B = repmat(A,m,n,...)</synopsis>
-        <synopsis>B = repmat(A,siz)</synopsis>
-        <synopsis>B = repmat(A,m)</synopsis>
+        <synopsis>
+            B = repmat(A, siz)
+            B = repmat(A, m)
+            B = repmat(A, m, n,...)
+        </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>repmat(A,m,n)</literal> or similarly
             <literal>repmat(A,[m,n])</literal> returns a large matrix
-            consisting of an <literal>m</literal>-by- <literal>n</literal>
+            consisting of an <literal>m</literal>-by-<literal>n</literal>
             tiling of copies of <literal>A</literal>. The size of the result
             is <literal>[size(A,1)*M, size(A,2)*N]</literal>.
         </para>
         <para>
             <literal>repmat(A,m)</literal> creates an
-            <literal>m</literal>-by- <literal>m</literal>tiling.
+            <literal>m</literal>-by-<literal>m</literal> tiling.
         </para>
         <para>
-            <literal>repmat(A,[m n p ...])</literal> tiles the array A to produce a 
-            multidimensional array  composed of copies of  <literal>A</literal>. The size of the result is 
+            <literal>repmat(A,[m n p ...])</literal> tiles the array A to produce a
+            multidimensional array  composed of copies of  <literal>A</literal>. The size of the result is
             <literal>[size(A,1)*M, size(A,2)*N, size(A,3)*P, ...] </literal>.
         </para>
         <para>For now,only arrays of real, integer, boolean, character
             overloading mechanism.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
-        <programlisting role="example"><![CDATA[ 
-    repmat(1:3,2,2)
-    repmat(int8([1 0 1;0 1 0]),2,3,2)
-    repmat("Scilab",3,2)
-    t="Scilab";t(ones(3,2))
-    repmat([1/%s;2/(%s+1)],1,3)
-
+        <programlisting role="example"><![CDATA[
+repmat(1:3,2,2)
+repmat(int8([1 0 1;0 1 0]),2,3,2)
+repmat("Scilab",3,2)
+t="Scilab";t(ones(3,2))
+repmat([1/%s;2/(%s+1)],1,3)
  ]]></programlisting>
     </refsection>
-    <refsection>
+    <refsection role="see also">
         <title>See Also</title>
         <simplelist type="inline">
             <member>
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index 3ea7996..2df9a2e 100644 (file)
     <refsynopsisdiv>
         <title>Syntax</title>
         <synopsis>
+                     resize_matrix   // demo
             resMat = resize_matrix(mat, nbRows, nbCols)
-            
+
             resMat = resize_matrix(mat, nbRows, nbCols, resType)
             resMat = resize_matrix(mat, nbRows, nbCols, resType, padding)
             resMat = resize_matrix(mat, nbRows, nbCols,    ""  , padding)
-            
+
             resMat = resize_matrix(mat, newSizes)
             resMat = resize_matrix(mat, newSizes, resType)
             resMat = resize_matrix(mat, newSizes, resType, padding)
             resMat = resize_matrix(mat, newSizes,    ""  , padding)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             Creates a matrix of sizes <literal>[nbRows, nbCols]</literal> or <literal>newSizes</literal>, or an hypermatrix of sizes <literal>newSizes</literal>.
             The type of the result may be changed by specifying the <literal>resType</literal> argument, with restrictions given above.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
 // Embedded examples, including with polynomials:
@@ -172,7 +173,7 @@ resize_matrix(P, [3 3 2], "", %z)
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index aecd7d1..e731b78 100644 (file)
     <refnamediv>
         <refname>flipdim</refname>
         <refpurpose>
-            retourne par blocs les éléments de <literal>x</literal> selon une dimension
+            inverse l'ordre des (blocs de) lignes, colonnes, pages.. d'une matrice ou hypermatrice
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
         <title>Séquence d'appel</title>
         <synopsis>y = flipdim(x, dim [,sb])</synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Paramètres</title>
         <variablelist>
             <varlistentry>
@@ -50,7 +50,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             A partir de <literal>x</literal>, un scalaire/vecteur/matrice/hypermatrice de n'importe quel type et
@@ -64,7 +64,7 @@
             ou <literal>size(x,1)*sb</literal> (<literal>dim=2</literal>).
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
         <programlisting role="example"><![CDATA[
 // Exemple 1 : selon la première dimension
@@ -123,7 +123,7 @@ flipdim(X, 2, 6) // => [6 7 8 9 10 11   0 1 2 3 4 5]
 y = flipdim(x, 2, 5); // size(X) = [1 12] et sb=5 ne divise pas 12.
  ]]></programlisting>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index f8b8b5c..60b95ee 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - INRIA - Serge Steer
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
     </refnamediv>
     <refsynopsisdiv>
         <title>Sequence d'appel</title>
-        <synopsis>B = repmat(A,m,n,...)</synopsis>
-        <synopsis>B = repmat(A,siz)</synopsis>
-        <synopsis>B = repmat(A,m)</synopsis>
+        <synopsis>
+          B = repmat(A, siz)
+          B = repmat(A, m)
+          B = repmat(A, m, n,...)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
@@ -59,7 +61,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>repmat(A,m,n)</literal> or de façon équivalente,
@@ -69,7 +71,7 @@
             <literal>[size(A,1)*M, size(A,2)*N]</literal>.
         </para>
         <para>
-            <literal>repmat(A,m)</literal> crée un pavage 
+            <literal>repmat(A,m)</literal> crée un pavage
             <literal>m</literal>-by- <literal>m</literal>.
         </para>
         <para>
@@ -88,9 +90,9 @@
             être étendue en utilisant le méchanisme de surcharge.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
     repmat(1:3,2,2)
     repmat(int8([1 0 1;0 1 0]),2,3,2)
     repmat("Scilab",3,2)
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>Historique</title>
         <revhistory>
             <revision>
index 7a2cc64..d81f978 100644 (file)
         <refpurpose>élague et/ou étend (et convertit) une matrice ou une hypermatrice</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Séquence d'appel</title>
+        <title>Syntaxe</title>
         <synopsis>
+                     resize_matrix    //  Démo
             resMat = resize_matrix(mat, nbRows, nbCols)
-            
+
             resMat = resize_matrix(mat, nbRows, nbCols, resType)
             resMat = resize_matrix(mat, nbRows, nbCols, resType, padding)
             resMat = resize_matrix(mat, nbRows, nbCols,    ""  , padding)
-            
+
             resMat = resize_matrix(mat, newSizes)
             resMat = resize_matrix(mat, newSizes, resType)
             resMat = resize_matrix(mat, newSizes, resType, padding)
             resMat = resize_matrix(mat, newSizes,    ""  , padding)
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Paramètres</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             Crée une matrice de taille <literal>[nbRows, nbCols]</literal> ou <literal>newSizes</literal>, ou une hypermatrice de taille <literal>newSizes</literal>.
             Le type du retour peut être modifié en spécifiant l'argument <literal>resType</literal>, avec les restrictions mentionnées ci-dessus.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
         <programlisting role="example"><![CDATA[
 // Exemples de démonstration, dont avec des polynômes :
@@ -172,7 +173,7 @@ resize_matrix(P, [3 3 2], "", %z)
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>Historique</title>
         <revhistory>
             <revision>
index b0582da..d4cc329 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - INRIA - Serge Steer
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
     </refnamediv>
     <refsynopsisdiv>
         <title>呼び出し手順</title>
-        <synopsis>B = repmat(A,m,n,...)</synopsis>
-        <synopsis>B = repmat(A,siz)</synopsis>
-        <synopsis>B = repmat(A,m)</synopsis>
+        <synopsis>
+          B = repmat(A, siz)
+          B = repmat(A, m)
+          B = repmat(A, m, n,...)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>引数</title>
         <variablelist>
             <varlistentry>
@@ -62,7 +64,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>説明</title>
         <para>
             <literal>repmat(A,m,n)</literal> または同様な
@@ -87,9 +89,9 @@
             この関数の定義は,オーバーロード機能により拡張することができます.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>例</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
     repmat(1:3,2,2)
     repmat(int8([1 0 1;0 1 0]),2,3,2)
     repmat("Scilab",3,2)
@@ -97,7 +99,7 @@
     repmat([1/%s;2/(%s+1)],1,3)
  ]]></programlisting>
     </refsection>
-    <refsection>
+    <refsection role="see also">
         <title>参照</title>
         <simplelist type="inline">
             <member>
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>履歴</title>
         <revhistory>
             <revision>
index a235399..500e622 100644 (file)
@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * along with this program.
  *
  -->
-
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="resize_matrix" xml:lang="ja">
-    
     <refnamediv>
-        
         <refname>resize_matrix</refname>
-        
         <refpurpose>
-            
             行列またはハイパー行列をトリムまたは拡張(およびキャスト)
-            
         </refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出し手順</title>
-        
         <synopsis>
-            
+                     resize_matrix      // Demo
             resMat = resize_matrix(mat, nbRows, nbCols)
-            
             resMat = resize_matrix(mat, nbRows, nbCols, resType)
-            
             resMat = resize_matrix(mat, nbRows, nbCols, resType, padding)
-            
             resMat = resize_matrix(mat, nbRows, nbCols,    ""  , padding)
-            
             resMat = resize_matrix(mat, newSizes)
-            
             resMat = resize_matrix(mat, newSizes, resType)
-            
             resMat = resize_matrix(mat, newSizes, resType, padding)
-            
             resMat = resize_matrix(mat, newSizes,    ""  , padding)
-            
         </synopsis>
-        
     </refsynopsisdiv>
-    
-    <refsection>
-        
+    <refsection role="parameters">
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>mat</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         入力行列またはハイパー行列. 論理値, エンコードされた整数, 10進数 (実数または複素数),
-                        
                         多項式, またはテキストがサポートされます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>nbRows</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         大きさ変更後の行列の行数. 超過した行はトリムされます.
-                        
                         足りない行は拡張されます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>nbCols</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         大きさ変更後の行列の列数. 超過した列はトリムされます.
-                        
                         足りない列は拡張されます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>newSizes</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         <varname>mat</varname>の各次元方向の新しい大きさを指定するベクトル.
-                        
                     </para>
-                    
                     <para>
-                        
-                        <literal>size(mat)</literal>より短い場合, 1でパディングされます. 
-                        
+                        <literal>size(mat)</literal>より短い場合, 1でパディングされます.
                         例: <literal>size(mat)==[ 4 3 3 2]</literal>となる <varname>mat</varname> が入力され,
-                        
                         <literal>newSizes=[6 2]</literal>が指定された場合,
-                        
                         <literal>newSizes = [6 2 1 1]</literal> が考慮されます.
-                        
                     </para>
-                    
                     <para>
-                        
-                        <varname>newSizes</varname> が <literal>size(mat)</literal>でなくなる場合, 
-                        
+                        <varname>newSizes</varname> が <literal>size(mat)</literal>でなくなる場合,
                         新規次元が <varname>mat</varname>に追加され,パディングされます.
-                        
                         例えば,<literal>size(mat)==[ 4 3 ]</literal>となるような <varname>mat</varname>が入力され,
-                        
                         <literal>newSizes=[6 2 2]</literal>が指定された場合,
-                        
                         結果は2ページのハイパー行列となります.
-                        
                         2番目の次元は完全にパディングされます.
-                        
                     </para>
-                    
                     <para>
-                        
                         <literal>newSizes = [nbRows, nbCols]</literal> は行列として使用できます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>padding</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         <varname>mat</varname>と同じ型のオプションのスカラー,
-                        
                         次元方向に大きさが増加した際に作成された要素に設定する内容を指定します.
-                        
                         デフォルトのパディングは <literal>0</literal>
-                        
                         (実数または複素数10進数,エンコードされた整数,多項式), または
-                        
                         <literal>""</literal> (テキスト),<literal>%F</literal> (論理値)で行われます.
-                        
                     </para>
-                    
                     <para>
-                        
-                        <varname>mat</varname> および <varname>padding</varname> の型が一致しない場合, 
-                        
+                        <varname>mat</varname> および <varname>padding</varname> の型が一致しない場合,
                         scilabは<varname>padding</varname>の型を変換しようとします.
-                        
                     </para>
-                    
                     <para>
-                        
                         多項式の場合, パティングの変数名は強制的に<varname>mat</varname>と同じとなります.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>resType</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         オプションのテキストで大きさが変更された行列が変換されるデータ型を指定します.
-                        
-                        "boolean", "constant", "string", "int8", "uint8", "int16", "uint16", "int32", および "uint32" 
-                        
+                        "boolean", "constant", "string", "int8", "uint8", "int16", "uint16", "int32", および "uint32"
                         がサポートされます.
-                        
                     </para>
-                    
                     <para>多項式およびテキストのハイパー行列については型変換がサポートされません.</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>resMat</term>
-                
                 <listitem>
-                    
                     <para>大きさが変更され(変換され)た行列またはハイパー行列</para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>説明</title>
-        
         <para>
-            
             大きさ<literal>[nbRows, nbCols]</literal> または <literal>newSizes</literal>の行列,
-            
             大きさ<literal>newSizes</literal>のハイパー行列を作成します.
-            
             新しい大きさのある次元が最初のものよりも小さい場合, 行列はトリムされます.
-            
             大きさが増加した場合, 行列/ハイパー行列はパディングされます.
-            
             次元の数を増やすことも可能です.
-            
             Scilabは自動的に大きさが1(シングルトン)に設定された最高の次元を縮小します.
-            
         </para>
-        
         <para>
-            
             結果の型は,上記の制限のもとに<literal>resType</literal>引数の指定により変更できます.
-            
         </para>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例</title>
-        
         <programlisting role="example"><![CDATA[
 // 組込の例, 多項式を含む
 resize_matrix
+
 // 数値行列:
 M = grand(4, 3, "uin", -9, 9)
 resize_matrix(M, 3, 4)
 resize_matrix(M, [3 4 2])
 resize_matrix(M, [3 4 2], "", %i)
 resize_matrix(M, [3 4 2], "string", %i)
+
 // テキストの行列:
 myMatString = ["Scilab", "the"; "Open Source", "Scientific"; "Software", "Package"]
 resize_matrix( myMatString, 5, 3 )
 // new sizesに等価な構文:
 resize_matrix( myMatString, [5 3], "", "$" )    // カスタムパディング
+
 // トリム, パディングとハイパー行列へのキャスト:
 h = rand(2, 3, 2)*200
 resize_matrix(h, [3 2 3], "int8")
 resize_matrix(h, [3 2 3], "int8", -1)    // カスタムパディング
 r = resize_matrix(h, [3 2 ] , "" , -1)   // 型変換せずにカスタムパディング
 size(r)  // 最後の次元は縮小されました
+
 // 多項式:
 x = poly(0, "x");
 P = (1-x)^grand(4, 2, "uin", 0, 3)
@@ -302,82 +176,42 @@ resize_matrix(P, [3 3 2], "", %z)
 //  => パディングの未知数はPのものに強制的に変更されました
 //  => 多項式は変換できません
  ]]></programlisting>
-        
     </refsection>
-    
     <refsection role="see also">
-        
         <title>参照</title>
-        
         <simplelist type="inline">
-            
             <member>
-                
                 <link linkend="matrix">matrix</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="size">size</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="typeof">typeof</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="double">double</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="strtod">strtod</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="strtod">string</link>
-                
             </member>
-            
         </simplelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="history">
         <title>履歴</title>
-        
         <revhistory>
-            
             <revision>
-                
                 <revnumber>5.5.0</revnumber>
-                
                 <revremark>
-                    
                     多項式とハイパー行列を利用可能になりました.
-                    
                     カスタムパディングを指定可能となりました.
-                    
                     新しい大きさをベクトルとして指定できます.
-                    
                     resize_matrix に引数を付けない場合, 例(デモ)を表示します.
-                    
                 </revremark>
-                
             </revision>
-            
         </revhistory>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index 3851c43..4e66831 100644 (file)
@@ -2,7 +2,7 @@
 <!--
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2011 - INRIA - Serge Steer
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
     </refnamediv>
     <refsynopsisdiv>
         <title>Последовательность вызова</title>
-        <synopsis>B = repmat(A,m,n,...)</synopsis>
-        <synopsis>B = repmat(A,siz)</synopsis>
-        <synopsis>B = repmat(A,m)</synopsis>
+        <synopsis>
+          B = repmat(A, siz)
+          B = repmat(A, m)
+          B = repmat(A, m, n,...)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Аргументы</title>
         <variablelist>
             <varlistentry>
@@ -37,7 +39,7 @@
                 <term>m, n, ...</term>
                 <listitem>
                     <para>
-                        целые числа, количество блоков <literal>A</literal> для каждой 
+                        целые числа, количество блоков <literal>A</literal> для каждой
                         размерности <literal>B</literal>.
                     </para>
                 </listitem>
@@ -46,8 +48,8 @@
                 <term>siz</term>
                 <listitem>
                     <para>
-                        вектор целых чисел, каждый элемент указывает количество блоков 
-                        <literal>A</literal> для соответствующей размерности 
+                        вектор целых чисел, каждый элемент указывает количество блоков
+                        <literal>A</literal> для соответствующей размерности
                         <literal>B</literal>.
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Описание</title>
         <para>
-            <literal>repmat(A,m,n)</literal> или по-другому 
-            <literal>repmat(A,[m,n])</literal> возвращает большую матрицу размером <literal>m</literal> на <literal>n</literal>, состоящую из мозаично размещённых 
+            <literal>repmat(A,m,n)</literal> или по-другому
+            <literal>repmat(A,[m,n])</literal> возвращает большую матрицу размером <literal>m</literal> на <literal>n</literal>, состоящую из мозаично размещённых
             копий <literal>A</literal>. Размер результирующей матрицы равен <literal>[size(A,1)*M,
                 size(A,2)*N]
             </literal>
             .
         </para>
         <para>
-            <literal>repmat(A,m)</literal> создаёт мозаичное размещение размером 
+            <literal>repmat(A,m)</literal> создаёт мозаичное размещение размером
             <literal>m</literal> на <literal>m</literal>.
         </para>
         <para>
-            <literal>repmat(A,[m n p ...])</literal> мозаично размещает массив 
-            <literal>A</literal> так, чтобы получился многомерный массив, построенный из копий 
+            <literal>repmat(A,[m n p ...])</literal> мозаично размещает массив
+            <literal>A</literal> так, чтобы получился многомерный массив, построенный из копий
             <literal>A</literal>. Размер результата равен <literal>[size(A,1)*M, size(A,2)*N,
                 size(A,3)*P, ...]
             </literal>
             .
         </para>
         <para>
-            На данный момент поддерживаются только массивы вещественных, целочисленных, 
-            логических, строковых, полиномиальных и рациональных значений, а также разрежённые 
+            На данный момент поддерживаются только массивы вещественных, целочисленных,
+            логических, строковых, полиномиальных и рациональных значений, а также разрежённые
             матрицы. Это определение функции может быть расширено с помощью механизма перегрузки.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Примеры</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
     repmat(1:3,2,2)
     repmat(int8([1 0 1;0 1 0]),2,3,2)
     repmat("Scilab",3,2)
     t="Scilab";t(ones(3,2))
     repmat([1/%s;2/(%s+1)],1,3)
+
  ]]></programlisting>
     </refsection>
-    <refsection>
+    <refsection role="see also">
         <title>Смотрите также</title>
         <simplelist type="inline">
             <member>
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>История</title>
         <revhistory>
             <revision>
index 814476e..370e0fb 100644 (file)
@@ -3,7 +3,7 @@
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) ENPC - Jean-Philippe Chancelier
  * Copyright (C) 2013 - Samuel GOUGEON
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
     </refnamediv>
     <refsynopsisdiv>
         <title>Syntax</title>
-        <synopsis>replot(area)</synopsis>
-        <synopsis>replot(area, axesHandles)</synopsis>
+        <synopsis>
+          replot(area)
+          replot(area, axesHandles)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
                 <term>area</term>
                 <listitem>
-                    <para>row vector [xmin ymin xmax ymax] or [xmin ymin zmin xmax ymax zmax]: new bounds of the area to be replotted. 
+                    <para>row vector [xmin ymin xmax ymax] or [xmin ymin zmin xmax ymax zmax]: new bounds of the area to be replotted.
                         <note>
                             Use <literal>%nan</literal> to keep a bound as is.
                         </note>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>replot</literal> is used to redraw the content of the current graphics axes with new boundaries defined by
-            <literal>area = [xmin,ymin, xmax,ymax]</literal> or <literal>area = [xmin,ymin,zmin, xmax,ymax,zmax]</literal>. 
+            <literal>area = [xmin,ymin, xmax,ymax]</literal> or <literal>area = [xmin,ymin,zmin, xmax,ymax,zmax]</literal>.
         </para>
         <para>This transformation can be applied to specific
             axes given by Axes graphics handles via the <varname>axesHandles</varname> argument. If <varname>axesHandles</varname> is
@@ -65,7 +67,7 @@
             <link linkend="axes_properties">axes_properties</link>)
         </note>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
         <programlisting role="example"><![CDATA[
       x=[0:0.1:2*%pi]';
@@ -144,7 +146,7 @@ replot([-1 %nan 1.5 %nan], [ax1 ax2])
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index 4db1fff..8589c2b 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) ENPC - Jean-Philippe Chancelier
  * Copyright (C) 2012 - Scilab Enterprises
  * Copyright (C) 2013 - Samuel GOUGEON
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Séquence d'appel</title>
-        <synopsis>replot(area)</synopsis>
-        <synopsis>replot(area, axesHandles)</synopsis>
+        <title>Syntaxe</title>
+        <synopsis>
+          replot(area)
+          replot(area, axesHandles)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Paramètres</title>
         <variablelist>
             <varlistentry>
                 <term>area</term>
                 <listitem>
-                    <para>vecteur [xmin ymin xmax ymax] ou [xmin ymin zmin xmax ymax zmax]: nouvelles bornes de la zone à réafficher. 
+                    <para>vecteur [xmin ymin xmax ymax] ou [xmin ymin zmin xmax ymax zmax]: nouvelles bornes de la zone à réafficher.
                         Utiliser <literal>%nan</literal> pour conserver une borne telle quelle.
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
-            <literal>replot</literal> est utilisée pour recadrer les repères graphiques spécifiés par <literal>axesHandles</literal> 
+            <literal>replot</literal> est utilisée pour recadrer les repères graphiques spécifiés par <literal>axesHandles</literal>
             (ou par défaut le repère graphique actif de la fenêtre graphique active) en changeant leurs bornes communes spécifiées sous la forme
             <literal>rect = [xmin,ymin, xmax,ymax]</literal> ou <literal>rect = [xmin,ymin,zmin, xmax,ymax,zmax]</literal>.
         </para>
         <para>
-            <varname>replot</varname> modifie les valeurs <literal>data_bounds</literal> des repères. 
+            <varname>replot</varname> modifie les valeurs <literal>data_bounds</literal> des repères.
             <note>
                 La propriété <literal>tight_limits</literal> des repères doit
                 être mise à  <literal>"on"</literal> pour sélectionner strictement ces bornes
@@ -62,9 +64,9 @@
             </note>
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
       // Premier exemple
       x=[0:0.1:2*%pi]';
       plot2d(x,sin(x))
             plot2d(x,sin(x))
             replot([-1,-1,10,2])
         </scilab:image>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 // second exemple
 xdel(winsid());
 plot() // plot demo
 f=gcf();
 replot([-1,-1,10,2],f.children(1)) // specify axes handle's value
-replot([-3,-2,8,4],f.children(2)) 
+replot([-3,-2,8,4],f.children(2))
  ]]></programlisting>
         <scilab:image>
             xdel(winsid());
@@ -143,7 +145,7 @@ replot([-1 %nan 1.5 %nan], [ax1 ax2])
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>Historique</title>
         <revhistory>
             <revision>
index 25acd9a..a57593c 100644 (file)
@@ -1,16 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-
 <!--
-
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-
  * Copyright (C) ENPC - Jean-Philippe Chancelier
-
- * Copyright (C) 2013 - Samuel GOUGEON
-
- * 
-
-
+ * Copyright (C) 2013 - 2016 - Samuel GOUGEON
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
  * and continues to be available under such terms.
  * For more information, see the COPYING file which you should have received
  * along with this program.
-
  *
-
  -->
-
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"  xml:lang="ja" xml:id="replot">
-    
     <refnamediv>
-        
         <refname>replot</refname>
-        
         <refpurpose>
-            
             新しい境界を指定してカレントまたは指定した軸で再描画
-            
         </refpurpose>
-        
     </refnamediv>
-    
     <refsynopsisdiv>
-        
         <title>呼び出し手順</title>
-        
-        <synopsis>replot(area)</synopsis>
-        
-        <synopsis>replot(area, axesHandles)</synopsis>
-        
+        <synopsis>
+            replot(area)
+            replot(area, axesHandles)
+        </synopsis>
     </refsynopsisdiv>
-    
-    <refsection>
-        
+    <refsection role="parameters">
         <title>引数</title>
-        
         <variablelist>
-            
             <varlistentry>
-                
                 <term>area</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         行ベクトル [xmin ymin xmax ymax] または
-                        
                         [xmin ymin zmin xmax ymax zmax]: 再プロットされる領域の新しい範囲.
-                        
                         <note>
-                            
                             範囲を変えない場合は <literal>%nan</literal> を使用してください.
-                            
                         </note>
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
             <varlistentry>
-                
                 <term>axesHandles</term>
-                
                 <listitem>
-                    
                     <para>
-                        
                         Axes型のグラフィックハンドルのベクトル:
-                        
                         選択する軸. デフォルトで, カレントの図のカレントの軸が指定されます.
-                        
                     </para>
-                    
                 </listitem>
-                
             </varlistentry>
-            
         </variablelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="description">
         <title>説明</title>
-        
         <para>
-            
             <literal>replot</literal> はカレントのグラフィックウインドウの内容を
-            
             <literal>area = [xmin,ymin, xmax,ymax]</literal>または
-            
             <literal>area = [xmin,ymin,zmin, xmax,ymax,zmax]</literal>で定義した新しい境界内に
-            
             再描画する際に使用されます.
-            
         </para>
-        
         <para>
-            
             この変換は<varname>axesHandles</varname>引数でAxesグラフィックハンドルにより
-            
             指定された特定の軸に適用できます.
-            
             <varname>axesHandles</varname>が指令されない場合,
-            
             新しい境界はカレントの図のカレントの軸に適用されます.
-            
             変換はこれらの軸の<literal>data_bounds</literal>の値を変更します.
-            
         </para>
-        
         <note>
-            
             これらの範囲を厳密に選択するために
-            
             axesのプロパティ<literal>tight_limits</literal>を"on" に設定する必要があります
-            
             (<link linkend="axes_properties">axes_properties</link>を参照ください).
-            
         </note>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="examples">
         <title>例</title>
-        
-        <programlisting role="example"><![CDATA[ 
-
+        <programlisting role="example"><![CDATA[
 // 最初の例
-
 x=[0:0.1:2*%pi]';
-
-plot2d(x,sin(x)) 
-
-replot([-1,-1,10,2]) 
-
+plot2d(x,sin(x))
+replot([-1,-1,10,2])
       ]]></programlisting>
-        
         <scilab:image>
-            
             x=[0:0.1:2*%pi]';
-            
             plot2d(x,sin(x))
-            
             replot([-1,-1,10,2])
-            
         </scilab:image>
-        
         <programlisting role="example"><![CDATA[
-
 // 二番目の例
-
 xdel(winsid());
-
 plot() // plot demo
-
 f=gcf();
-
 replot([-1,-1,10,2],f.children(1)) // axesハンドルの値を指定
-
-replot([-3,-2,8,4],f.children(2)) 
-
+replot([-3,-2,8,4],f.children(2))
  ]]></programlisting>
-        
         <scilab:image>
-            
             xdel(winsid());
-            
             plot()
-            
             f2=gcf();
-            
             replot([-1,-1,10,2],f2.children(1))
-            
             replot([-3,-2,8,4],f2.children(2))
-            
         </scilab:image>
-        
         <programlisting role="example"><![CDATA[
-
 //値は%nanで示さ端子は変更されません。
-
 x = linspace(0,360,200).';
-
 clf
-
 plot2d(x,[sind(x) tand(x)])
-
 ax = gca();
-
-ax.data_bounds                         // 初期限界
-
-replot([%nan,-10,%nan,10])     // YminとYmaxのだけ変更され
-
-ax.data_bounds                         // 新しい制限
+ax.data_bounds              // 初期限界
+replot([%nan,-10,%nan,10])  // YminとYmaxのだけ変更され
+ax.data_bounds              // 新しい制限
 
 // 3D端末Zも変更できます。
-
 clf
-
 x = linspace(-4,4,100);
-
 X = meshgrid(x);
-
 R = (X-0.5).^2 + (X.'+0.7).^2;
-
 Z = sinc(R);
-
 surf(x-0.5,x+0.7,Z)
-
 f = gcf();
-
 f.color_map = autumncolormap(100);
-
 ax = gca();
-
 ax.data_bounds
-
 sleep(3000)
-
 replot([-5 0 -0.4 0 5 0.5])
-
 ax.data_bounds
 
 // いくつかのグラフィカルなマーカーを同時にトリミングすることができます。
-
 clf
-
 x = linspace(-%pi,%pi,400);
-
 subplot(2,2,1)
-
 plot2d(x,sin(1 ./sqrt(abs(x))))
-
 ax1 = gca();
-
 subplot(2,2,2)
-
 plot2d(x,sinh(sqrt(abs(x))))
-
 subplot(2,1,2)
-
 plot2d(x,cos(1 ./sqrt(abs(x))))
-
 ax2 = gca();
-
 sleep(4000)
-
 f = gcf();
-
 replot([-1 %nan 1.5 %nan], [ax1 ax2])
-
       ]]></programlisting>
-        
     </refsection>
-    
     <refsection role="see also">
-        
         <title>参照</title>
-        
         <simplelist type="inline">
-            
             <member>
-                
                 <link linkend="zoom_rect">zoom_rect</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="rubberbox">rubberbox</link>
-                
             </member>
-            
             <member>
-                
                 <link linkend="axes_properties">axes_properties</link>
-                
             </member>
-            
         </simplelist>
-        
     </refsection>
-    
-    <refsection>
-        
+    <refsection role="history">
         <title>履歴</title>
-        
         <revhistory>
-            
             <revision>
-                
                 <revnumber>5.5.0</revnumber>
-                
                 <revdescription>
-                    
                     <itemizedlist>
-                        
                         <listitem>3Dへの拡張
-                            
                         </listitem>
-                        
                         <listitem>axesHandles をベクトル化
-                            
                         </listitem>
-                        
                         <listitem>
-                            
                             範囲を維持するために <literal>%nan</literal> を使用できます.
-                            
                         </listitem>
-                        
                     </itemizedlist>
-                    
                 </revdescription>
-                
             </revision>
-            
         </revhistory>
-        
     </refsection>
-    
-</refentry>
-
+</refentry>
\ No newline at end of file
index a3101fc..880952c 100644 (file)
@@ -3,7 +3,7 @@
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) ENPC - Jean-Philippe Chancelier
  * Copyright (C) 2013 - Samuel GOUGEON
- * 
+ *
  * Copyright (C) 2012 - 2016 - Scilab Enterprises
  *
  * This file is hereby licensed under the terms of the GNU GPL v2.0,
 <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="replot" xml:lang="pt">
     <refnamediv>
         <refname>replot</refname>
-        <refpurpose>reformula a área de exibição de um ou mais gráficos
+        <refpurpose>reformula a área de exibição de um ou mais gráficos
         </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Seqüência de Chamamento</title>
-        <synopsis>replot(area)</synopsis>
-        <synopsis>replot(area, axesHandles)</synopsis>
+        <title>Seqüência de Chamamento</title>
+        <synopsis>
+          replot(area)
+          replot(area, axesHandles)
+      </synopsis>
     </refsynopsisdiv>
-    <refsection>
-        <title>Parâmetros</title>
+    <refsection role="parameters">
+        <title>Parâmetros</title>
         <variablelist>
             <varlistentry>
                 <term>area</term>
                 <term>axesHandles</term>
                 <listitem>
                     <para>argumento opcional. Manipulador(es) do tipo Axes para
-                        selecionar uma ou várias entidades Axes válidas. Disponível apenas
-                        no novo modo de gráficos.
+                        selecionar uma ou várias entidades Axes válidas. Disponível apenas
+                        no novo modo de gráficos.
                     </para>
                 </listitem>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
-        <title>Descrição</title>
+    <refsection role="description">
+        <title>Descrição</title>
         <para>
-            <literal>replot</literal> é utilizado para redesenhar o conteúdo da
-            janela de gráficos atual com novas fronteiras definidas por
-            <literal>area = [xmin,ymin,xmax,ymax]</literal> ou <literal> rect = [xmin, ymin, zmin, xmax, ymax, zmax] </literal>. 
+            <literal>replot</literal> é utilizado para redesenhar o conteúdo da
+            janela de gráficos atual com novas fronteiras definidas por
+            <literal>area = [xmin,ymin,xmax,ymax]</literal> ou <literal> rect = [xmin, ymin, zmin, xmax, ymax, zmax] </literal>.
         </para>
-        <para>Sob o novo modo de gráficos, esta transformação pode ser aplicada a
-            eixos específicos fornecidos por manipuladores gráficos Axes via o
-            argumento <varname>axesHandles</varname>. Se <varname>axesHandles</varname> 
-            não for especificado, as novas fronteiras são
-            aplicadas aos eixos correntes da figura corrente. A transformação muda os
-            valores de <literal>data_bounds</literal> para estes eixos. 
+        <para>Sob o novo modo de gráficos, esta transformação pode ser aplicada a
+            eixos específicos fornecidos por manipuladores gráficos Axes via o
+            argumento <varname>axesHandles</varname>. Se <varname>axesHandles</varname>
+            não for especificado, as novas fronteiras são
+            aplicadas aos eixos correntes da figura corrente. A transformação muda os
+            valores de <literal>data_bounds</literal> para estes eixos.
             <note>
-                A propriedade de eixos <literal>tight_limits</literal> também deve ser
+                A propriedade de eixos <literal>tight_limits</literal> também deve ser
                 ajustada para "on" para selecionar estritamente estas fronteiras (ver
                 <link linkend="axes_properties">axes_properties</link>).
             </note>
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemplos</title>
-        <programlisting role="example"><![CDATA[ 
+        <programlisting role="example"><![CDATA[
 // primeiro exemplo
 x=[0:0.1:2*%pi]';
-plot2d(x,sin(x)) 
-replot([-1,-1,10,2]) 
+plot2d(x,sin(x))
+replot([-1,-1,10,2])
  ]]></programlisting>
         <scilab:image>
             x=[0:0.1:2*%pi]';
             plot2d(x,sin(x))
             replot([-1,-1,10,2])
         </scilab:image>
-        
+
         <programlisting role="example"><![CDATA[
 // segundo exemplo
 xdel(winsid());
 plot() // plot demo
 f=gcf();
 replot([-1,-1,10,2],f.children(1)) // especificando o valor do manipulador dos eixos
-replot([-3,-2,8,4],f.children(2)) 
+replot([-3,-2,8,4],f.children(2))
  ]]></programlisting>
         <scilab:image>
             xdel(winsid());
@@ -95,15 +97,15 @@ replot([-3,-2,8,4],f.children(2))
             replot([-3,-2,8,4],f2.children(2))
         </scilab:image>
         <programlisting role="example"><![CDATA[
-// Os fronteiras indicadas pelo valor %nan não são alterados:
+// Os fronteiras indicadas pelo valor %nan não são alterados:
 x = linspace(0,360,200).';
 clf
 plot2d(x,[sind(x) tand(x)])
 ax = gca();
 ax.data_bounds                         // Fronteiras iniciais
-replot([%nan,-10,%nan,10])     // Ymin e Ymax só são modificados
+replot([%nan,-10,%nan,10])     // Ymin e Ymax só são modificados
 ax.data_bounds                         // novas fronteiras
-// 3D Fronteiras Z também pode ser modificadas :
+// 3D Fronteiras Z também pode ser modificadas :
 clf
 x = linspace(-4,4,100);
 X = meshgrid(x);
@@ -117,7 +119,7 @@ ax.data_bounds
 sleep(3000)
 replot([-5 0 -0.4 0 5 0.5])
 ax.data_bounds
-// Diversos gráficos podem ser cortadas simultaneamente :
+// Diversos gráficos podem ser cortadas simultaneamente :
 clf
 x = linspace(-%pi,%pi,400);
 subplot(2,2,1)
@@ -134,7 +136,7 @@ replot([-1 %nan 1.5 %nan], [ax1 ax2])
       ]]></programlisting>
     </refsection>
     <refsection role="see also">
-        <title>Ver Também</title>
+        <title>Ver Também</title>
         <simplelist type="inline">
             <member>
                 <link linkend="zoom_rect">zoom_rect</link>
@@ -147,22 +149,22 @@ replot([-1 %nan 1.5 %nan], [ax1 ax2])
             </member>
         </simplelist>
     </refsection>
-    <refsection>
-        <title>histórico</title>
+    <refsection role="history">
+        <title>histórico</title>
         <revhistory>
             <revision>
                 <revnumber>5.5.0</revnumber>
                 <revdescription>
                     <itemizedlist>
                         <listitem>
-                            <para>Extensão para o 3D</para>
+                            <para>Extensão para o 3D</para>
                         </listitem>
                         <listitem>
-                            <para>Vários coordenadas gráficos podem agora ser redimensionadas simultaneamente</para>
+                            <para>Vários coordenadas gráficos podem agora ser redimensionadas simultaneamente</para>
                         </listitem>
                         <listitem>
                             <para>
-                                <literal>%nan</literal> pode ser usado para manter um limite como está.
+                                <literal>%nan</literal> pode ser usado para manter um limite como está.
                             </para>
                         </listitem>
                     </itemizedlist>
index 60c40b2..94b3d77 100644 (file)
@@ -914,21 +914,21 @@ hist3d_ja_JP_1.png=9031d249fda1aeea0a14f05417e56bd7
 hist3d_pt_BR_1.png=9031d249fda1aeea0a14f05417e56bd7
 hist3d_ru_RU_1.png=9031d249fda1aeea0a14f05417e56bd7
 histc_1.png=c2a0daa3b13faeafe316bfb8d6403b6
-histc_en_US_2.png=c0c3262f46d6a55bd1521bf82d5b054f
-histc_en_US_3.png=946668f4d28867db73324b9ccc38564a
-histc_en_US_4.png=972b4aeefe7553ba9a903ba89864e80a
-histc_fr_FR_2.png=c0c3262f46d6a55bd1521bf82d5b054f
-histc_fr_FR_3.png=946668f4d28867db73324b9ccc38564a
-histc_fr_FR_4.png=972b4aeefe7553ba9a903ba89864e80a
-histc_ja_JP_2.png=c0c3262f46d6a55bd1521bf82d5b054f
-histc_ja_JP_3.png=946668f4d28867db73324b9ccc38564a
-histc_ja_JP_4.png=972b4aeefe7553ba9a903ba89864e80a
-histc_pt_BR_2.png=c0c3262f46d6a55bd1521bf82d5b054f
-histc_pt_BR_3.png=946668f4d28867db73324b9ccc38564a
-histc_pt_BR_4.png=972b4aeefe7553ba9a903ba89864e80a
-histc_ru_RU_2.png=c0c3262f46d6a55bd1521bf82d5b054f
-histc_ru_RU_3.png=946668f4d28867db73324b9ccc38564a
-histc_ru_RU_4.png=972b4aeefe7553ba9a903ba89864e80a
+histc_en_US_2.png=54cc4c7f58c2d5df08c2a1e3f13266d7
+histc_en_US_3.png=61ac0dd9e6ae58f01c4af41e370e9f64
+histc_en_US_4.png=749ab576fd1cd753cc7359ab2beab13a
+histc_fr_FR_2.png=c5db0b0cd5057fecca00fa6b82615f71
+histc_fr_FR_3.png=81a370cf3cc05bbfe92ce42b47d01f22
+histc_fr_FR_4.png=f0eb71678214cc4d2037a0a29ce06ab4
+histc_ja_JP_2.png=54cc4c7f58c2d5df08c2a1e3f13266d7
+histc_ja_JP_3.png=61ac0dd9e6ae58f01c4af41e370e9f64
+histc_ja_JP_4.png=749ab576fd1cd753cc7359ab2beab13a
+histc_pt_BR_2.png=54cc4c7f58c2d5df08c2a1e3f13266d7
+histc_pt_BR_3.png=61ac0dd9e6ae58f01c4af41e370e9f64
+histc_pt_BR_4.png=749ab576fd1cd753cc7359ab2beab13a
+histc_ru_RU_2.png=54cc4c7f58c2d5df08c2a1e3f13266d7
+histc_ru_RU_3.png=61ac0dd9e6ae58f01c4af41e370e9f64
+histc_ru_RU_4.png=749ab576fd1cd753cc7359ab2beab13a
 histplot_1.png=becfb3115ba4cd9eaee18c2535dc557a
 histplot_en_US_2.png=8117e3f08f726740eb7a4e19b7c80cf1
 histplot_en_US_3.png=cd3e60e8f0a028549da7547fbf4b7222
index 62e0c71..6e50b7f 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_en_US_2.png and b/scilab/modules/helptools/images/histc_en_US_2.png differ
index a5f4670..8bd7df2 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_en_US_3.png and b/scilab/modules/helptools/images/histc_en_US_3.png differ
index 18ca521..5188923 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_en_US_4.png and b/scilab/modules/helptools/images/histc_en_US_4.png differ
index 3fe4c0b..73ffb8a 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_fr_FR_2.png and b/scilab/modules/helptools/images/histc_fr_FR_2.png differ
index 5108238..be74ea4 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_fr_FR_3.png and b/scilab/modules/helptools/images/histc_fr_FR_3.png differ
index 3451c9a..7fedb10 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_fr_FR_4.png and b/scilab/modules/helptools/images/histc_fr_FR_4.png differ
index ed68569..7a24600 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ja_JP_2.png and b/scilab/modules/helptools/images/histc_ja_JP_2.png differ
index 60957dd..336615d 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ja_JP_3.png and b/scilab/modules/helptools/images/histc_ja_JP_3.png differ
index 8956a17..5ff0c02 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ja_JP_4.png and b/scilab/modules/helptools/images/histc_ja_JP_4.png differ
index 161faa3..e98620b 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_pt_BR_2.png and b/scilab/modules/helptools/images/histc_pt_BR_2.png differ
index d1e35b9..8bd7df2 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_pt_BR_3.png and b/scilab/modules/helptools/images/histc_pt_BR_3.png differ
index 3451c9a..5188923 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_pt_BR_4.png and b/scilab/modules/helptools/images/histc_pt_BR_4.png differ
index 161faa3..e98620b 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ru_RU_2.png and b/scilab/modules/helptools/images/histc_ru_RU_2.png differ
index d1e35b9..8bd7df2 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ru_RU_3.png and b/scilab/modules/helptools/images/histc_ru_RU_3.png differ
index 3451c9a..5188923 100644 (file)
Binary files a/scilab/modules/helptools/images/histc_ru_RU_4.png and b/scilab/modules/helptools/images/histc_ru_RU_4.png differ
index c7f4a95..f87cb42 100644 (file)
@@ -5,10 +5,10 @@
         <refpurpose>coefficients d'une matrice de polynômes  </refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Séquence d'appel</title>
-        <synopsis>[C]=coeff(Mp [,v])</synopsis>
+        <title>Syntaxe</title>
+        <synopsis>C = coeff(Mp [,v])</synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Paramètres</title>
         <variablelist>
             <varlistentry>
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             <literal>C=coeff(Mp)</literal>
             renvoie dans une grosse matrice <literal>C</literal> les coefficients de la
             matrice de polynômes <literal>Mp</literal>. <literal>C</literal> est
-            partitionnée comme <literal>C=[C0,C1,...,Ck]</literal> 
-            où les <literal>Ci</literal> sont arrangés dans l'ordre décroissant .
+            partitionnée comme <literal>C=[C0,C1,...,Ck]</literal>
+            où les <literal>Ci</literal> sont arrangés en ordre croissant, avec
             <literal>k = max(degree(Mp))</literal>
         </para>
         <para>
-            <literal>C=coeff(Mp,v)</literal> renvoie la matrice des coefficients avec les 
-            degrés dans <literal>v</literal>.
+            <literal>C = coeff(Mp,v)</literal> renvoie la matrice des coefficients des termes dont
+            les degrés sont indiqués dans <literal>v</literal>.
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
         <programlisting role="example"><![CDATA[
 s=poly(0,'s');
@@ -62,10 +62,9 @@ coeff(r)
 
 r = poly([-1-%i -1+2*%i 0],'s',"roots");
 coeff(r)
-
  ]]></programlisting>
     </refsection>
-    
+
     <refsection role="see also">
         <title>Voir aussi</title>
         <simplelist type="inline">
index 8f4d764..bbbf25a 100644 (file)
@@ -25,7 +25,7 @@
             [cf, ind] = histc(x, data [,normalization])
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Arguments</title>
         <variablelist>
             <varlistentry>
@@ -81,7 +81,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             This function computes a histogram of the <literal>data</literal> vector using the
             when <emphasis>x(1)&lt;=min(data)</emphasis> and <emphasis>max(data) &lt;= x(n+1)</emphasis>
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Examples</title>
         <simplelist>
             <member> Example #1: variations around a histogram of a gaussian random sample
@@ -136,11 +136,11 @@ clf()
 subplot(2,1,1)
 [cf, ind] = histc(c, d)
 histplot(c, d, style=2);
-xtitle("Normalized histogram")
+xtitle(_("Normalized histogram"))
 subplot(2,1,2)
 [cf, ind] = histc(c, d, normalization=%f)
 histplot(c, d, normalization=%f, style=5);
-xtitle("Non normalized histogram")
+xtitle(_("Non normalized histogram"))
 ]]></programlisting>
                 <scilab:image localized="true">
                     d = grand(1000,1,"bin", 6, 0.5);
@@ -149,11 +149,11 @@ xtitle("Non normalized histogram")
                     subplot(2,1,1)
                     [cf, ind] = histc(c, d)
                     histplot(c, d, style=2);
-                    xtitle("Normalized histogram")
+                    xtitle(_("Normalized histogram"))
                     subplot(2,1,2)
                     [cf, ind] = histc(c, d, normalization=%f)
                     histplot(c, d, normalization=%f, style=5);
-                    xtitle("Non normalized histogram")
+                    xtitle(_("Non normalized histogram"))
                 </scilab:image>
             </member>
             <member>
@@ -167,7 +167,7 @@ clf()
 histplot(40, X, style=2);
 x = linspace(0, max(Xmax), 100)';
 plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-legend(["exponential random sample histogram" "exact density curve"]);
+legend([_("exponential random sample histogram") _("exact density curve")]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     lambda = 2;
@@ -178,7 +178,7 @@ legend(["exponential random sample histogram" "exact density curve"]);
                     histplot(40, X, style=2);
                     x = linspace(0, max(Xmax), 100)';
                     plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-                    legend(["exponential random sample histogram" "exact density curve"]);
+                    legend([_("exponential random sample histogram") _("exact density curve")]);
                 </scilab:image>
             </member>
             <member>
@@ -188,14 +188,14 @@ n = 10;
 data = rand(1, 1000, "normal");
 [cf, ind] = histc(n, data)
 clf(); histplot(n, data, style=12, polygon=%t);
-legend(["normalized histogram" "frequency polygon chart"]);
+legend([_("normalized histogram") _("frequency polygon chart")]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     n = 10;
                     data = rand(1, 1000, "normal");
                     [cf, ind] = histc(n, data)
                     clf(); histplot(n, data, style=12, polygon=%t);
-                    legend(["normalized histogram" "frequency polygon chart"]);
+                    legend([_("normalized histogram") _("frequency polygon chart")]);
                 </scilab:image>
             </member>
         </simplelist>
@@ -217,7 +217,7 @@ legend(["normalized histogram" "frequency polygon chart"]);
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>History</title>
         <revhistory>
             <revision>
index d68abab..ade8774 100644 (file)
         <refpurpose>calcule un histogramme</refpurpose>
     </refnamediv>
     <refsynopsisdiv>
-        <title>Séquence d'appel</title>
+        <title>Syntaxe</title>
         <synopsis>
             [cf, ind] = histc(n, data [,normalization])
             [cf, ind] = histc(x, data [,normalization])
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>Paramètres</title>
         <variablelist>
             <varlistentry>
@@ -81,7 +81,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>Description</title>
         <para>
             Cette fonction calcule un histogramme du vecteur <literal>data</literal> d'après les classes
             quand <emphasis>x(1)&lt;=min(data)</emphasis> et <emphasis>max(data) &lt;= x(n+1)</emphasis>
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>Exemples</title>
         <simplelist>
             <member> Exemple #1: variations sur l'histogramme d'un échantillon gaussien N(0,1)
@@ -136,11 +136,11 @@ clf()
 subplot(2,1,1)
 [cf, ind] = histc(c, d)
 histplot(c, d, style=2);
-xtitle("Normalized histogram")
+xtitle("Histogramme d''aire normalisée")
 subplot(2,1,2)
 [cf, ind] = histc(c, d, normalization=%f)
 histplot(c, d, normalization=%f, style=5);
-xtitle("Non normalized histogram")
+xtitle("Histogramme brut")
 ]]></programlisting>
                 <scilab:image localized="true">
                     d = grand(1000,1,"bin", 6, 0.5);
@@ -149,15 +149,15 @@ xtitle("Non normalized histogram")
                     subplot(2,1,1)
                     [cf, ind] = histc(c, d)
                     histplot(c, d, style=2);
-                    xtitle("Normalized histogram")
+                    xtitle("Histogramme d''aire normalisée")
                     subplot(2,1,2)
                     [cf, ind] = histc(c, d, normalization=%f)
                     histplot(c, d, normalization=%f, style=5);
-                    xtitle("Non normalized histogram")
+                    xtitle("Histogramme brut")
                 </scilab:image>
             </member>
             <member>
-                Exemple #3: histogramme d'un échantillon de loi exponentielle E(lambda)
+                Exemple #3 : histogramme d'un échantillon de loi exponentielle E(lambda)
                 <programlisting role="example"><![CDATA[
 lambda = 2;
 X = grand(100000,1,"exp", 1/lambda);
@@ -167,7 +167,7 @@ clf()
 histplot(40, X, style=2);
 x = linspace(0, max(Xmax), 100)';
 plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-legend(["exponential random sample histogram" "exact density curve"]);
+legend(["Histogramme d''un échantillon de distribution exponentielle" "Fonction densité exacte"]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     lambda = 2;
@@ -178,24 +178,24 @@ legend(["exponential random sample histogram" "exact density curve"]);
                     histplot(40, X, style=2);
                     x = linspace(0, max(Xmax), 100)';
                     plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-                    legend(["exponential random sample histogram" "exact density curve"]);
+                    legend(["Histogramme d''un échantillon de distribution exponentielle" "Fonction densité exacte"]);
                 </scilab:image>
             </member>
             <member>
-                Exemple #4: la fréquence polygonale et l'histogramme d'un échantillon gaussien
+                Exemple #4 : polygône des fréquences et histogramme d'un échantillon gaussien
                 <programlisting role="example"><![CDATA[
 n = 10;
 data = rand(1, 1000, "normal");
 [cf, ind] = histc(n, data)
 clf(); histplot(n, data, style=12, polygon=%t);
-legend(["normalized histogram" "frequency polygon chart"]);
+legend(["Histogramme d''aire normalisée" "Polygone des fréquences"]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     n = 10;
                     data = rand(1, 1000, "normal");
                     [cf, ind] = histc(n, data)
                     clf(); histplot(n, data, style=12, polygon=%t);
-                    legend(["normalized histogram" "frequency polygon chart"]);
+                    legend(["Histogramme d''aire normalisée" "Polygone des fréquences"]);
                 </scilab:image>
             </member>
         </simplelist>
@@ -217,8 +217,8 @@ legend(["normalized histogram" "frequency polygon chart"]);
             </member>
         </simplelist>
     </refsection>
-    <refsection>
-        <title>History</title>
+    <refsection role="history">
+        <title>Historique</title>
         <revhistory>
             <revision>
                 <revnumber>5.5.0</revnumber>
index 0793f92..89e9c31 100644 (file)
@@ -25,7 +25,7 @@
             [cf, ind] = histc(x, data [,normalization])
         </synopsis>
     </refsynopsisdiv>
-    <refsection>
+    <refsection role="parameters">
         <title>引数</title>
         <variablelist>
             <varlistentry>
@@ -77,7 +77,7 @@
                 <listitem>
                     <para>
                         スカラー論理値.
-                        <varname>normalization=%f (デフォルト)</varname>: 
+                        <varname>normalization=%f (デフォルト)</varname>:
                         <varname>cf</varname>は,各クラスにおける点の総数を表します.
                         <varname>normalization=%t</varname>:
                         <varname>cf</varname>は,各クラスにおける点の数を点の総数に関して相対的に表します.
@@ -86,7 +86,7 @@
             </varlistentry>
         </variablelist>
     </refsection>
-    <refsection>
+    <refsection role="description">
         <title>説明</title>
         <para>
             この関数は,クラス<literal>x</literal>により<literal>data</literal>ベクトルの
             (ただし, <emphasis>dx = (x(n+1)-x(1))/n</emphasis>)となるクラスが選択されます.
         </para>
         <para>
-            クラスは<literal>C1 = [x(1), x(2)]</literal> および <literal>Ci = ( x(i), x(i+1)]</literal> 
+            クラスは<literal>C1 = [x(1), x(2)]</literal> および <literal>Ci = ( x(i), x(i+1)]</literal>
             (i &gt;= 2)で定義されます.
             <literal>Nmax</literal>は<literal>data</literal>の総数 (Nmax = length(data)),
             <literal>Ni</literal>は<literal>Ci</literal>に含まれる<literal>data</literal>要素の数,
             <literal>Ci</literal>における<literal>x</literal>のヒストグラムの値は,
-            <literal>"normalized"</literal>が選択された場合は   
+            <literal>"normalized"</literal>が選択された場合は
             <emphasis>Ni/(Nmax (x(i+1)-x(i)))</emphasis> となり,
             そうでない場合は単に<emphasis>Ni</emphasis>となります.
             正規化が行われた際,ヒストグラムは以下を確認します:
             の場合
         </para>
     </refsection>
-    <refsection>
+    <refsection role="examples">
         <title>例</title>
         <simplelist>
             <member> 例 #1: ガウス乱数標本のヒストグラム周辺の変化
@@ -142,11 +142,11 @@ clf()
 subplot(2,1,1)
 [cf, ind] = histc(c, d)
 histplot(c, d, style=2);
-xtitle("Normalized histogram")
+xtitle(_("Normalized histogram"))
 subplot(2,1,2)
 [cf, ind] = histc(c, d, normalization=%f)
 histplot(c, d, normalization=%f, style=5);
-xtitle("Non normalized histogram")
+xtitle(_("Non normalized histogram"))
 ]]></programlisting>
                 <scilab:image localized="true">
                     d = grand(1000,1,"bin", 6, 0.5);
@@ -155,11 +155,11 @@ xtitle("Non normalized histogram")
                     subplot(2,1,1)
                     [cf, ind] = histc(c, d)
                     histplot(c, d, style=2);
-                    xtitle("Normalized histogram")
+                    xtitle(_("Normalized histogram"))
                     subplot(2,1,2)
                     [cf, ind] = histc(c, d, normalization=%f)
                     histplot(c, d, normalization=%f, style=5);
-                    xtitle("Non normalized histogram")
+                    xtitle(_("Non normalized histogram"))
                 </scilab:image>
             </member>
             <member>
@@ -173,7 +173,7 @@ clf()
 histplot(40, X, style=2);
 x = linspace(0, max(Xmax), 100)';
 plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-legend(["exponential random sample histogram" "exact density curve"]);
+legend([_("exponential random sample histogram") _("exact density curve")]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     lambda = 2;
@@ -184,7 +184,7 @@ legend(["exponential random sample histogram" "exact density curve"]);
                     histplot(40, X, style=2);
                     x = linspace(0, max(Xmax), 100)';
                     plot2d(x, lambda*exp(-lambda*x), strf="000", style=5)
-                    legend(["exponential random sample histogram" "exact density curve"]);
+                    legend([_("exponential random sample histogram") _("exact density curve")]);
                 </scilab:image>
             </member>
             <member>
@@ -194,14 +194,14 @@ n = 10;
 data = rand(1, 1000, "normal");
 [cf, ind] = histc(n, data)
 clf(); histplot(n, data, style=12, polygon=%t);
-legend(["normalized histogram" "frequency polygon chart"]);
+legend([_("normalized histogram") _("frequency polygon chart")]);
 ]]></programlisting>
                 <scilab:image localized="true">
                     n = 10;
                     data = rand(1, 1000, "normal");
                     [cf, ind] = histc(n, data)
                     clf(); histplot(n, data, style=12, polygon=%t);
-                    legend(["normalized histogram" "frequency polygon chart"]);
+                    legend([_("normalized histogram") _("frequency polygon chart")]);
                 </scilab:image>
             </member>
         </simplelist>
@@ -223,7 +223,7 @@ legend(["normalized histogram" "frequency polygon chart"]);
             </member>
         </simplelist>
     </refsection>
-    <refsection>
+    <refsection role="history">
         <title>履歴</title>
         <revhistory>
             <revision>