translation updated, for newly added scilab function in 5.5.0 35/14435/2
Rui Hirokawa [Thu, 17 Apr 2014 15:14:39 +0000 (00:14 +0900)]
Change-Id: Ic8725698fac5842885de68ace966c7fcc792f66c

scilab/modules/graphics/help/ja_JP/datatips/datatipRemoveAll.xml
scilab/modules/graphics/help/ja_JP/datatips/datatip_properties.xml [new file with mode: 0644]
scilab/modules/graphics/help/ja_JP/lighting/light.xml [new file with mode: 0644]
scilab/modules/graphics/help/ja_JP/lighting/light_properties.xml [new file with mode: 0644]
scilab/modules/graphics/help/ja_JP/lighting/lighting.xml [new file with mode: 0644]
scilab/modules/statistics/help/ja_JP/data_missing_values/nanreglin.xml [new file with mode: 0644]

index 7c64e4c..4a9847f 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Copyright (C) INRIA -  Serge Steer Serge.Steer@inria.fr
  * 
@@ -8,36 +9,67 @@
  * are also available at    
  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
 -->
+
 <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="datatipRemoveAll">
+    
     <refnamediv>
+        
         <refname>datatipRemoveAll</refname>
+        
         <refpurpose>一連のポリラインの上のdatatipsを全て削除する. </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>datatipRemoveAll(curve_handles)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータs</title>
+        
+        <title>パラメータ</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>curve_handles</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         ポリラインハンドルのベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             一連のポリラインの上のdatatipsを全て削除します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
     x=linspace(0,1,100)';
     y=x.^3;
     datatipCreate(e(2),20);
     datatipRemoveAll(e) 
     ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="datatips">datatips</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="datatipCreate">datatipCreate</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="datatipRemove">datatipRemove</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
diff --git a/scilab/modules/graphics/help/ja_JP/datatips/datatip_properties.xml b/scilab/modules/graphics/help/ja_JP/datatips/datatip_properties.xml
new file mode 100644 (file)
index 0000000..a9d797f
--- /dev/null
@@ -0,0 +1,526 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<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="datatip_properties">
+    
+    <refnamediv>
+        
+        <refname>datatipプロパティ</refname>
+        
+        <refpurpose>datatipエンティティプロパティの説明
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>datatipエンティティはグラフィックエンティティ階層の葉です.
+            
+            このエンティティはdatatipのパラメータを定義します.
+            
+        </para>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>parent: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                         ヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>children: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                         ヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>visible: </term>
+                
+                <listitem>
+                    
+                    <para> 
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                         ヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>data: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                         ヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>box_mode: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドはdatatipの<literal>box_mode</literal>プロパティの
+                        
+                        デフォルト値を表します.
+                        
+                        この値は,
+                        
+                        <literal>"on" </literal>(箱を描画) または
+                        
+                        <literal>"off"</literal> (箱を描画しない)とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>label_mode: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドはdatatipの<literal>label_mode</literal>プロパティの
+                        
+                        デフォルト値を表します. この値は,
+                        
+                        <literal>"on" </literal>(ラベルを描画) または
+                        
+                        <literal>"off"</literal> (ラベルを描画しない)とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>orientation: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは,ポリラインの点に関するテキストボックスの位置を指定します.
+                        
+                        指定可能な値は 0, 1, 2 または 3 です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>z_component: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは箱の中にz位置を追加します.
+                        
+                        この値は,<literal>"on" </literal>(z位置を書く)または
+                        
+                        <literal>"off"</literal> (z位置を書かない)とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>auto_orientation: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドはdatatipの<literal>auto_orientation</literal>プロパティの
+                        
+                        デフォルト値を表します. この値は,
+                        
+                        <literal>"on" </literal>(自動的に向きを設定) または
+                        
+                        <literal>"off"</literal> (自動的に向きを設定しない)とします.
+                        
+                        <literal>"off"</literal>の場合については,<literal>orientation</literal>
+                        
+                        プロパティを参照ください.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>interp_mode: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドはtipの位置の補間モードを指定します.
+                        
+                        この値は <literal>"on" </literal> (格子点間で補間を行う)または
+                        
+                        <literal>"off" </literal> (tipsは格子点にのみ配置可能)とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>display_function: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>font_foreground: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは,<literal>font_foreground</literal>プロパティのデフォルト値を有します.
+                        
+                        この値は(カレントのカラーマップに関する)色添字とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>foreground: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは,箱を描画する際に使用される<literal>foreground</literal>
+                        
+                        プロパティのデフォルト値を有します.
+                        
+                        この値は(カレントのカラーマップに関する)色添字とします.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>background: </term>
+                
+                <listitem>
+                    
+                    <para> 
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_mode: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_style: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_size_unit: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_size: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_foreground: </term>
+                
+                <listitem>
+                    
+                    <para> 
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>mark_background: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>user_data: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        <literal>
+                            
+                            <link linkend="polyline_properties">polyline_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>tag: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは一般にコントロールを識別する際に使用される
+                        
+                        文字列を有します.
+                        
+                        <literal>
+                            
+                            <link linkend="figure_properties">figure_properties</link>
+                            
+                        </literal>
+                        のヘルプページを参照.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="polyline_properties">polyline_properties</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="figure_properties">figure_properties</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="graphics_entities">graphics_entities</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/graphics/help/ja_JP/lighting/light.xml b/scilab/modules/graphics/help/ja_JP/lighting/light.xml
new file mode 100644 (file)
index 0000000..cdb9587
--- /dev/null
@@ -0,0 +1,348 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) Pedro SOUZA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<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" scilab:needs-examples="no" xml:id="light">
+    
+    <refnamediv>
+        
+        <refname>light</refname>
+        
+        <refpurpose>指定した軸にライトオブジェクトを作成</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>l=light()
+            
+            l=light(&lt;LightProperty&gt;)
+            
+            l=light(axes_handle, &lt;LightProperty&gt;)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>引数</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>axes_handle</term>
+                
+                <listitem>
+                    
+                    <para>軸のハンドル, 省略した場合はカレントの軸.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>&lt;LightProperty&gt;</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        ライトプロパティを指定するオプション引数.
+                        
+                        オプション引数は以下の構文で指定可能:
+                        
+                        <literal>"light(propname1=propvalue1, propname2=propvalue2, ..., propnameN=propvalueN)"</literal>.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        以下にオプション引数のリストを示します:
+                    </para>
+                    
+                    <variablelist>
+                        
+                        <varlistentry>
+                            
+                            <term>visible: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光の有効(<literal>"on"</literal>)または
+                                    
+                                    無効(<literal>"off"</literal>)を定義します.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>type: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは使用される光の型を定義します.
+                                    
+                                    以下の2種類の光を利用できます:
+                                    
+                                    <literal>"directional"</literal> および <literal>"point"</literal>.
+                                    
+                                    方向性(directional)光源は,曲面から無限遠に位置する光源で,平行線となります.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    点光源は,全ての方向に放射する空間の点として
+                                    
+                                    定義されます.
+                                    
+                                    デフォルト値は <literal>"point"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>direction: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは方向性光源の光線方向を定義します.
+                                    
+                                    方向は,原点からのベクトルを表す
+                                    
+                                    3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は <literal>"[0 0 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>position: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは,点光源の光源位置を定義します.
+                                    
+                                    位置は3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[0 0 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>ambient_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源のアンビエント色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[0.1 0.1 0.1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>diffuse_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の拡散色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>specular_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の鏡面反射色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は <literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                    </variablelist>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            <literal>light</literal> 関数は, 指定した軸の
+            
+            lightエンティティ(lightのエンティティプロパティについては
+            
+            <link linkend="light">light_property</link> を参照)を作成し,オプション引数
+            
+            &lt;LightProperty&gt; で指定したプロパティを設定します.
+            
+        </para>
+        
+        <para>
+            
+            面の見え方を決める照明の効果に関する詳細については,
+            
+            <link linkend="lighting">照明</link>を参照ください.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <scilab:image>
+            
+            plot3d();
+            
+            l = light(visible="on", type="point", position=[0 0 1]);
+            
+        </scilab:image>
+        
+        <programlisting role="example"><![CDATA[
+plot3d();
+l = light(visible="on", type="point", position=[0 0 1]);
+         ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="lighting">照明</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="light_properties">lightプロパティ</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="surface_properties">surfaceプロパティ</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="delete">削除</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/graphics/help/ja_JP/lighting/light_properties.xml b/scilab/modules/graphics/help/ja_JP/lighting/light_properties.xml
new file mode 100644 (file)
index 0000000..04e15de
--- /dev/null
@@ -0,0 +1,319 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) Pedro SOUZA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<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" scilab:needs-examples="no" xml:id="light_properties">
+    
+    <refnamediv>
+        
+        <refname>light properties</refname>
+        
+        <refpurpose>光源の概要</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            lightエンティティは外観照明を変更するためのプロパティを有します.
+            
+            照明は軸内では不可視ですが,曲面の外観に影響を与えます.
+            
+            (照明の詳細については<link linkend="lighting">照明</link>を参照ください).
+            
+        </para>
+        
+        <para>
+            
+            光源は
+            
+            <link linkend="light">light</link> 関数により作成でき,
+            
+            <link linkend="delete">delete</link> 関数により削除されます.
+            
+        </para>
+        
+        <scilab:image>
+            
+            plot3d();
+            
+            l = light();
+            
+            s = gce();
+            
+            s.diffuse_color = [0 0 0.8];
+            
+            s.ambient_color = [0 0 1];
+            
+            s.use_color_material = "off";
+            
+        </scilab:image>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>lightプロパティのリスト</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>visible: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは光源の有効(<literal>"on"</literal>)または
+                        
+                        無効(<literal>"off"</literal>)を定義します.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>light_type: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは使用される光の型を定義します.
+                        
+                        以下の2種類の光を利用できます:
+                        
+                        <literal>"directional"</literal> および <literal>"point"</literal>.
+                        
+                        方向性(directional)光源は,曲面から無限遠に位置する光源で,平行線となります.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        点(point)光源は,全ての方向に放射する空間の点として
+                        
+                        定義されます.
+                        
+                        デフォルト値は <literal>"point"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>direction: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは方向性光源の光線方向を定義します.
+                        
+                        方向は,原点からのベクトルを表す
+                        
+                        3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        デフォルト値は <literal>"[0 0 1]"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>position: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは,点光源の光源位置を定義します.
+                        
+                        位置は3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        デフォルト値は<literal>"[0 0 1]"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>ambient_color: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは光源のアンビエント色を定義します.
+                        
+                        この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                        
+                        (各要素の範囲は[0, 1])により定義されます.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        デフォルト値は<literal>"[0.1 0.1 0.1]"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>diffuse_color: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは光源の拡散色を定義します.
+                        
+                        この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                        
+                        (各要素の範囲は[0, 1])により定義されます.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        デフォルト値は<literal>"[1 1 1]"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>specular_color: </term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        このフィールドは光源の鏡面反射色を定義します.
+                        
+                        この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                        
+                        (各要素の範囲は[0, 1])により定義されます.
+                        
+                    </para>
+                    
+                    <para>
+                        
+                        デフォルト値は <literal>"[1 1 1]"</literal>です.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+        // 点光源
+        plot3d;l=light();s=gce();
+        for i=0:1000
+            sleep(5);
+            x = 2*cos(i*%pi/180);
+            y = 2*sin(i*%pi/180);
+            z = 2;
+            l.position = [x y z];
+        end
+
+        // 方向性光源に光源を変更
+        l.light_type = "directional";
+        l.direction = [1 0 1];
+        l.ambient_color = [0.1 0.1 0.1];
+        s.diffuse_color = [0.4 0.4 0.4];
+        s.use_color_material = "off";
+        s.color_flag = 0;
+        s.thickness = 0;
+        s.hiddencolor = -1;
+        s.specular_color = [0.6 0.6 0.6];
+        sleep(5000);
+
+        l2 = light(ambient_color=[0 0 0], diffuse_color = [0.8 0.8 1], type="point", position=[0 3 4]);
+        sleep(5000);
+        delete(l);
+        l2.specular_color = [1 0.6 0];
+        ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="lighting">照明</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="light">light</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="delete">delete</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/graphics/help/ja_JP/lighting/lighting.xml b/scilab/modules/graphics/help/ja_JP/lighting/lighting.xml
new file mode 100644 (file)
index 0000000..b2b9c1e
--- /dev/null
@@ -0,0 +1,579 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) Pedro SOUZA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<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" scilab:needs-examples="no" xml:id="lighting">
+    
+    <refnamediv>
+        
+        <refname>lighting</refname>
+        
+        <refpurpose>照明の概要</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            scilabにおける照明は実世界の照明を近似するもので,
+            
+            曲面の外観は光線と曲面の物質特性の相互関係により指定されます.
+            
+        </para>
+        
+        <para>
+            
+            実世界の光源を模擬することは複雑で計算負荷が高いため,
+            
+            簡易的なモデルを使用します.
+            
+        </para>
+        
+        <para>
+            
+            光源は主にその色で表されます: アンビエント, 拡散, 鏡面反射.
+            
+            <link linkend="light">light</link> 関数により作成でき,
+            
+            <link linkend="delete">delete</link> 関数により削除されます.
+            
+        </para>
+        
+        <para>
+            
+            曲面の物性は色(アンビエント, 拡散および鏡面反射)と輝度によっても表されます.
+            
+        </para>
+        
+        <para>
+            
+            曲面は,拡散色として曲面の色を有効にする
+            
+            <literal>color_material</literal>プロパティを有します.
+            
+        </para>
+        
+        <para>
+            
+            最終的な曲面の色は,曲面と光源色の積に適用される光線モデル方程式により
+            
+            指定されます.以下に光線モデル方程式を示します:
+            
+        </para>
+        
+        <scilab:image>
+            
+            xset("font",1,4);
+            
+            xstring(0.0, 0.4, '$Color = Ambient_{term} + Diffuse_{term} + Specular_{term} \\ Ambient_{term} = L_{ambient}*S_{ambient} \\ Diffuse_{term} = L_{diffuse}*S_{diffuse}*(L_{direction} \cdot S_{normal}) \\ Specular_{term} = L_{specular}*S_{specular}*(S_{normal} \cdot (L_{direction}+View_{direction}) ))^{S_{shininess}}$');
+            
+            f=gcf();
+            
+            f.figure_size = [750,280];
+            
+        </scilab:image>
+        
+        <listitem>
+            
+            <para>
+                
+                アンビエント色は,曲面に間接的にさした光をモデル化するもので,
+                
+                面の法線または光の方向に依存しません.
+                
+            </para>
+            
+        </listitem>
+        
+        <listitem>
+            
+            <para>
+                
+                拡散色は直接さす光をモデル化するもので,
+                
+                光線方向および面の法線に依存します.
+                
+            </para>
+            
+        </listitem>
+        
+        <listitem>
+            
+            <para>
+                
+                鏡面反射色は鏡面反射ハイライト色を定義します.
+                
+            </para>
+            
+        </listitem>
+        
+        <para>
+            
+            以下に照明のあるまたはない面を比較します:
+            
+        </para>
+        
+        <para>
+            
+            <scilab:image>
+                
+                plot3d();
+                
+                l = light();
+                
+            </scilab:image>
+            
+        </para>
+        
+        <para>
+            
+            <scilab:image>
+                
+                plot3d();
+                
+            </scilab:image>
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>光源プロパティのリスト</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>kightプロパティ</term>
+                
+                <listitem>
+                    
+                    <variablelist>
+                        
+                        <varlistentry>
+                            
+                            <term>visible: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光の有効(<literal>"on"</literal>)または
+                                    
+                                    無効(<literal>"off"</literal>)を定義します.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>light_type: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは使用される光の型を定義します.
+                                    
+                                    以下の2種類の光を利用できます:
+                                    
+                                    <literal>"directional"</literal> および <literal>"point"</literal>.
+                                    
+                                    方向性(directional)光源は,曲面から無限遠に位置する光源で,平行線となります.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    点光源は,全ての方向に放射する空間の点として
+                                    
+                                    定義されます.
+                                    
+                                    デフォルト値は <literal>"point"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>direction: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは方向性光源の光線方向を定義します.
+                                    
+                                    方向は,原点からのベクトルを表す
+                                    
+                                    3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は <literal>"[0 0 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>position: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは,点光源の光源位置を定義します.
+                                    
+                                    位置は3要素ベクトル<literal>"[x, y, z]"</literal>により変更できます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[0 0 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>ambient_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源のアンビエント色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[0.1 0.1 0.1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>diffuse_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の拡散色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>specular_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の鏡面反射色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は <literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                    </variablelist>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>曲面のプロパティ</term>
+                
+                <listitem>
+                    
+                    <variablelist>
+                        
+                        <varlistentry>
+                            
+                            <term>use_color_material: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは曲面の色を拡散色として使用することを有効にします.
+                                    
+                                    デフォルト値は<literal>"on"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>material_shininess: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは曲面の輝度を定義します.
+                                    
+                                    このパラメータは曲面内で散らばる輝度色を制御します.
+                                    
+                                    正の値を使用できます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    [0 10]の範囲の値を使用すると良く, 小さい値は強いハイライト,
+                                    
+                                    大きな値はわずかに認識できるハイライトを生成します.
+                                    
+                                    デフォルト値は<literal>"2"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>ambient_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源のアンビエント色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>diffuse_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の拡散色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                    このフィールドはuse_color_materialが無効の場合の
+                                    
+                                    使用されることに注意してください.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は<literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                        <varlistentry>
+                            
+                            <term>specular_color: </term>
+                            
+                            <listitem>
+                                
+                                <para>
+                                    
+                                    このフィールドは光源の鏡面反射色を定義します.
+                                    
+                                    この色は3要素ベクトル<literal>"[red, green, blue]"</literal>
+                                    
+                                    (各要素の範囲は[0, 1])により定義されます.
+                                    
+                                </para>
+                                
+                                <para>
+                                    
+                                    デフォルト値は <literal>"[1 1 1]"</literal>です.
+                                    
+                                </para>
+                                
+                            </listitem>
+                            
+                        </varlistentry>
+                        
+                    </variablelist>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <para>
+            
+            color_materialなしの点光源:
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+plot3d();
+s=gce();
+s.color_flag=0;
+s.thickness=0;
+s.hiddencolor = -1;
+light();
+//拡散色をオレンジに変更
+s.diffuse_color = [1, 0.6, 0];
+s.use_color_material="off";
+//黒の点を暗いオレンジに変更
+s.ambient_color = [1, 0.6, 0];
+         ]]></programlisting>
+        
+        <para>
+            
+            方向性光源:
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+plot3d();
+s=gce();
+l = light();
+s.color_flag=0;
+s.thickness=0;
+l.light_type = "directional";
+l.direction = [0 0 1];
+l.diffuse_color = [1 0.9 0.9];
+l.ambient_color = [0.5 0.4 0.4];
+l.specular_color = [0.5 0.3 0.7];
+         ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="light">light</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="light_properties">lightプロパティ</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="surface_properties">surfaceプロパティ</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="delete">delete</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/statistics/help/ja_JP/data_missing_values/nanreglin.xml b/scilab/modules/statistics/help/ja_JP/data_missing_values/nanreglin.xml
new file mode 100644 (file)
index 0000000..61dab9d
--- /dev/null
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2014 - Scilab Enterprises - Paul Bignier
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution.  The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<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="nanreglin">
+    
+    <refnamediv>
+        
+        <refname>nanreglin</refname>
+        
+        <refpurpose>線形回帰</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>[a,b]=nanreglin(x,y)</synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>引数</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>x, y, a, b</term>
+                
+                <listitem>
+                    
+                    <para>数値ベクトルまたは行列.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            回帰問題 y=a*x+b を最小二乗法で解きます.
+            
+            <literal>x</literal> と <literal>y</literal> は行列で,大きさは
+            
+            <literal>x(p,n)</literal> および <literal>y(q,n)</literal> (ただし <literal>n</literal> は
+            
+            サンプル数) です.
+            
+        </para>
+        
+        <para>
+            
+            推定器 <literal>a</literal> は, 大きさ<literal>(q,p)</literal>の行列,
+            
+            <literal>b</literal> は,大きさ<literal>(q,1)</literal>のベクトルです.
+            
+        </para>
+        
+        <para>
+            
+            <literal>y</literal> の各線は独立した問題として処理されます.
+            
+            <literal>x</literal>または<literal>y</literal>に NaN
+            
+            (<literal>x(i,j) = %nan</literal> または <literal>y(i,j) = %nan</literal>)
+            
+            が含まれる場合,点 [x(:,j); y(i,j)] が存在しないように
+            
+            <literal>x(:,j)</literal> と <literal>y(i,j)</literal> は無視されます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <para>
+            
+            グラフィカルな例 #1:
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+// 以下の例では,2つの問題は共に2本の直線を表します:
+// 1本は(0,0)から(10,10)へ,もう一つは(0,20)から(10,30)へ.
+// 全ての点が並んでおり,NaNが無視されるため,
+// reglinとnanreglinは同じ値を見つけます.
+subplot(211)
+x = 0:10;
+y = 20:30;
+[a1, b1] = reglin(x, [x ; y]);
+plot(x', (a1*x+repmat(b1,1,11))', "red")
+
+subplot(212)
+y2 = y;
+y2(2:10) = %nan; // y2(1) と y2(11) は変更されません.
+[a2, b2] = nanreglin(x, [x ; y2])
+plot(x', (a2*x+repmat(b2,1,11))', "blue")
+ ]]></programlisting>
+        
+        <scilab:image>
+            
+            subplot(211)
+            
+            x = 0:10;
+            
+            y = 20:30;
+            
+            [a1, b1] = reglin(x, [x ; y]);
+            
+            plot(x', (a1*x+repmat(b1,1,11))', "red")
+            
+            subplot(212)
+            
+            y2 = y;
+            
+            y2(2:10) = %nan;
+            
+            [a2, b2] = nanreglin(x, [x ; y2])
+            
+            plot(x', (a2*x+repmat(b2,1,11))', "blue")
+            
+        </scilab:image>
+        
+        <para>
+            
+            グラフィカルな例 #2:
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+// 両方の問題は,(0,0)から(2,2)への直線 (reglin(x, x))を表します.
+// 最初の問題(reglin(x, y))の2番目の引数は式 y = 1 で表される線,
+// 2番目の問題(reglin(x, y2))の第2引数はyの中央の点 (%nan を指定)を無視します.
+// 残りの2点が(0,0)と(2,0)のため,線は式 y = 0 を表します.
+subplot(211)
+x = 0:2;
+y = [0 3 0];
+[a1, b1] = reglin(x, [x ; y]);
+plot(x', (a1*x+repmat(b1,1,3))', "red")
+
+subplot(212)
+y2 = y;
+y2(2) = %nan; // y2 = [0 %nan 0];
+[a2, b2] = nanreglin(x, [x ; y2]);
+plot(x', (a2*x+repmat(b2,1,3))', "blue")
+ ]]></programlisting>
+        
+        <scilab:image>
+            
+            subplot(211)
+            
+            x = 0:2;
+            
+            y = [0 3 0];
+            
+            [a1, b1] = reglin(x, [x ; y]);
+            
+            plot(x', (a1*x+repmat(b1,1,3))', "red")
+            
+            subplot(212)
+            
+            y2 = y;
+            
+            y2(2) = %nan; // y2 = [0 %nan 0];
+            
+            [a2, b2] = nanreglin(x, [x ; y2]);
+            
+            plot(x', (a2*x+repmat(b2,1,3))', "blue")
+            
+        </scilab:image>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="reglin">reglin</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="pinv">pinv</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="leastsq">leastsq</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="qr">qr</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revdescription>導入</revdescription>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+